Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.pubsublite/v1.Subscription
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new subscription.
Create Subscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Subscription(name: string, args: SubscriptionArgs, opts?: CustomResourceOptions);@overload
def Subscription(resource_name: str,
                 args: SubscriptionArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def Subscription(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 subscription_id: Optional[str] = None,
                 delivery_config: Optional[DeliveryConfigArgs] = None,
                 export_config: Optional[ExportConfigArgs] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 skip_backlog: Optional[bool] = None,
                 topic: Optional[str] = None)func NewSubscription(ctx *Context, name string, args SubscriptionArgs, opts ...ResourceOption) (*Subscription, error)public Subscription(string name, SubscriptionArgs args, CustomResourceOptions? opts = null)
public Subscription(String name, SubscriptionArgs args)
public Subscription(String name, SubscriptionArgs args, CustomResourceOptions options)
type: google-native:pubsublite/v1:Subscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplesubscriptionResourceResourceFromPubsublitev1 = new GoogleNative.Pubsublite.V1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1", new()
{
    SubscriptionId = "string",
    DeliveryConfig = new GoogleNative.Pubsublite.V1.Inputs.DeliveryConfigArgs
    {
        DeliveryRequirement = GoogleNative.Pubsublite.V1.DeliveryConfigDeliveryRequirement.DeliveryRequirementUnspecified,
    },
    ExportConfig = new GoogleNative.Pubsublite.V1.Inputs.ExportConfigArgs
    {
        DeadLetterTopic = "string",
        DesiredState = GoogleNative.Pubsublite.V1.ExportConfigDesiredState.StateUnspecified,
        PubsubConfig = new GoogleNative.Pubsublite.V1.Inputs.PubSubConfigArgs
        {
            Topic = "string",
        },
    },
    Location = "string",
    Name = "string",
    Project = "string",
    SkipBacklog = false,
    Topic = "string",
});
example, err := pubsublite.NewSubscription(ctx, "examplesubscriptionResourceResourceFromPubsublitev1", &pubsublite.SubscriptionArgs{
	SubscriptionId: pulumi.String("string"),
	DeliveryConfig: &pubsublite.DeliveryConfigArgs{
		DeliveryRequirement: pubsublite.DeliveryConfigDeliveryRequirementDeliveryRequirementUnspecified,
	},
	ExportConfig: &pubsublite.ExportConfigArgs{
		DeadLetterTopic: pulumi.String("string"),
		DesiredState:    pubsublite.ExportConfigDesiredStateStateUnspecified,
		PubsubConfig: &pubsublite.PubSubConfigArgs{
			Topic: pulumi.String("string"),
		},
	},
	Location:    pulumi.String("string"),
	Name:        pulumi.String("string"),
	Project:     pulumi.String("string"),
	SkipBacklog: pulumi.Bool(false),
	Topic:       pulumi.String("string"),
})
var examplesubscriptionResourceResourceFromPubsublitev1 = new Subscription("examplesubscriptionResourceResourceFromPubsublitev1", SubscriptionArgs.builder()
    .subscriptionId("string")
    .deliveryConfig(DeliveryConfigArgs.builder()
        .deliveryRequirement("DELIVERY_REQUIREMENT_UNSPECIFIED")
        .build())
    .exportConfig(ExportConfigArgs.builder()
        .deadLetterTopic("string")
        .desiredState("STATE_UNSPECIFIED")
        .pubsubConfig(PubSubConfigArgs.builder()
            .topic("string")
            .build())
        .build())
    .location("string")
    .name("string")
    .project("string")
    .skipBacklog(false)
    .topic("string")
    .build());
examplesubscription_resource_resource_from_pubsublitev1 = google_native.pubsublite.v1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1",
    subscription_id="string",
    delivery_config={
        "delivery_requirement": google_native.pubsublite.v1.DeliveryConfigDeliveryRequirement.DELIVERY_REQUIREMENT_UNSPECIFIED,
    },
    export_config={
        "dead_letter_topic": "string",
        "desired_state": google_native.pubsublite.v1.ExportConfigDesiredState.STATE_UNSPECIFIED,
        "pubsub_config": {
            "topic": "string",
        },
    },
    location="string",
    name="string",
    project="string",
    skip_backlog=False,
    topic="string")
const examplesubscriptionResourceResourceFromPubsublitev1 = new google_native.pubsublite.v1.Subscription("examplesubscriptionResourceResourceFromPubsublitev1", {
    subscriptionId: "string",
    deliveryConfig: {
        deliveryRequirement: google_native.pubsublite.v1.DeliveryConfigDeliveryRequirement.DeliveryRequirementUnspecified,
    },
    exportConfig: {
        deadLetterTopic: "string",
        desiredState: google_native.pubsublite.v1.ExportConfigDesiredState.StateUnspecified,
        pubsubConfig: {
            topic: "string",
        },
    },
    location: "string",
    name: "string",
    project: "string",
    skipBacklog: false,
    topic: "string",
});
type: google-native:pubsublite/v1:Subscription
properties:
    deliveryConfig:
        deliveryRequirement: DELIVERY_REQUIREMENT_UNSPECIFIED
    exportConfig:
        deadLetterTopic: string
        desiredState: STATE_UNSPECIFIED
        pubsubConfig:
            topic: string
    location: string
    name: string
    project: string
    skipBacklog: false
    subscriptionId: string
    topic: string
Subscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Subscription resource accepts the following input properties:
- SubscriptionId string
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- DeliveryConfig Pulumi.Google Native. Pubsublite. V1. Inputs. Delivery Config 
- The settings for this subscription's message delivery.
- ExportConfig Pulumi.Google Native. Pubsublite. V1. Inputs. Export Config 
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- Location string
- Name string
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- Project string
- SkipBacklog bool
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- Topic string
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- SubscriptionId string
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- DeliveryConfig DeliveryConfig Args 
- The settings for this subscription's message delivery.
- ExportConfig ExportConfig Args 
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- Location string
- Name string
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- Project string
- SkipBacklog bool
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- Topic string
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- subscriptionId String
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- deliveryConfig DeliveryConfig 
- The settings for this subscription's message delivery.
- exportConfig ExportConfig 
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- location String
- name String
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- project String
- skipBacklog Boolean
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- topic String
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- subscriptionId string
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- deliveryConfig DeliveryConfig 
- The settings for this subscription's message delivery.
- exportConfig ExportConfig 
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- location string
- name string
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- project string
- skipBacklog boolean
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- topic string
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- subscription_id str
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- delivery_config DeliveryConfig Args 
- The settings for this subscription's message delivery.
- export_config ExportConfig Args 
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- location str
- name str
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- project str
- skip_backlog bool
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- topic str
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
- subscriptionId String
- Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name.
- deliveryConfig Property Map
- The settings for this subscription's message delivery.
- exportConfig Property Map
- If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
- location String
- name String
- The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
- project String
- skipBacklog Boolean
- If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
- topic String
- The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
Outputs
All input properties are implicitly available as output properties. Additionally, the Subscription resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
DeliveryConfig, DeliveryConfigArgs    
- DeliveryRequirement Pulumi.Google Native. Pubsublite. V1. Delivery Config Delivery Requirement 
- The DeliveryRequirement for this subscription.
- DeliveryRequirement DeliveryConfig Delivery Requirement 
- The DeliveryRequirement for this subscription.
- deliveryRequirement DeliveryConfig Delivery Requirement 
- The DeliveryRequirement for this subscription.
- deliveryRequirement DeliveryConfig Delivery Requirement 
- The DeliveryRequirement for this subscription.
- delivery_requirement DeliveryConfig Delivery Requirement 
- The DeliveryRequirement for this subscription.
- deliveryRequirement "DELIVERY_REQUIREMENT_UNSPECIFIED" | "DELIVER_IMMEDIATELY" | "DELIVER_AFTER_STORED"
- The DeliveryRequirement for this subscription.
DeliveryConfigDeliveryRequirement, DeliveryConfigDeliveryRequirementArgs        
- DeliveryRequirement Unspecified 
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- DeliverImmediately 
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- DeliverAfter Stored 
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
- DeliveryConfig Delivery Requirement Delivery Requirement Unspecified 
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- DeliveryConfig Delivery Requirement Deliver Immediately 
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- DeliveryConfig Delivery Requirement Deliver After Stored 
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
- DeliveryRequirement Unspecified 
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- DeliverImmediately 
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- DeliverAfter Stored 
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
- DeliveryRequirement Unspecified 
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- DeliverImmediately 
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- DeliverAfter Stored 
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
- DELIVERY_REQUIREMENT_UNSPECIFIED
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- DELIVER_IMMEDIATELY
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- DELIVER_AFTER_STORED
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
- "DELIVERY_REQUIREMENT_UNSPECIFIED"
- DELIVERY_REQUIREMENT_UNSPECIFIEDDefault value. This value is unused.
- "DELIVER_IMMEDIATELY"
- DELIVER_IMMEDIATELYThe server does not wait for a published message to be successfully written to storage before delivering it to subscribers.
- "DELIVER_AFTER_STORED"
- DELIVER_AFTER_STOREDThe server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery.
DeliveryConfigResponse, DeliveryConfigResponseArgs      
- DeliveryRequirement string
- The DeliveryRequirement for this subscription.
- DeliveryRequirement string
- The DeliveryRequirement for this subscription.
- deliveryRequirement String
- The DeliveryRequirement for this subscription.
- deliveryRequirement string
- The DeliveryRequirement for this subscription.
- delivery_requirement str
- The DeliveryRequirement for this subscription.
- deliveryRequirement String
- The DeliveryRequirement for this subscription.
ExportConfig, ExportConfigArgs    
- DeadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- DesiredState Pulumi.Google Native. Pubsublite. V1. Export Config Desired State 
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- PubsubConfig Pulumi.Google Native. Pubsublite. V1. Inputs. Pub Sub Config 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- DeadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- DesiredState ExportConfig Desired State 
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- PubsubConfig PubSub Config 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- deadLetter StringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState ExportConfig Desired State 
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig PubSub Config 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- deadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState ExportConfig Desired State 
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig PubSub Config 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- dead_letter_ strtopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desired_state ExportConfig Desired State 
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsub_config PubSub Config 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- deadLetter StringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState "STATE_UNSPECIFIED" | "ACTIVE" | "PAUSED" | "PERMISSION_DENIED" | "NOT_FOUND"
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig Property Map
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
ExportConfigDesiredState, ExportConfigDesiredStateArgs        
- StateUnspecified 
- STATE_UNSPECIFIEDDefault value. This value is unused.
- Active
- ACTIVEMessages are being exported.
- Paused
- PAUSEDExporting messages is suspended.
- PermissionDenied 
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- NotFound 
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
- ExportConfig Desired State State Unspecified 
- STATE_UNSPECIFIEDDefault value. This value is unused.
- ExportConfig Desired State Active 
- ACTIVEMessages are being exported.
- ExportConfig Desired State Paused 
- PAUSEDExporting messages is suspended.
- ExportConfig Desired State Permission Denied 
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- ExportConfig Desired State Not Found 
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
- StateUnspecified 
- STATE_UNSPECIFIEDDefault value. This value is unused.
- Active
- ACTIVEMessages are being exported.
- Paused
- PAUSEDExporting messages is suspended.
- PermissionDenied 
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- NotFound 
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
- StateUnspecified 
- STATE_UNSPECIFIEDDefault value. This value is unused.
- Active
- ACTIVEMessages are being exported.
- Paused
- PAUSEDExporting messages is suspended.
- PermissionDenied 
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- NotFound 
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDDefault value. This value is unused.
- ACTIVE
- ACTIVEMessages are being exported.
- PAUSED
- PAUSEDExporting messages is suspended.
- PERMISSION_DENIED
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- NOT_FOUND
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDDefault value. This value is unused.
- "ACTIVE"
- ACTIVEMessages are being exported.
- "PAUSED"
- PAUSEDExporting messages is suspended.
- "PERMISSION_DENIED"
- PERMISSION_DENIEDMessages cannot be exported due to permission denied errors. Output only.
- "NOT_FOUND"
- NOT_FOUNDMessages cannot be exported due to missing resources. Output only.
ExportConfigResponse, ExportConfigResponseArgs      
- CurrentState string
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- DeadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- DesiredState string
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- PubsubConfig Pulumi.Google Native. Pubsublite. V1. Inputs. Pub Sub Config Response 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- CurrentState string
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- DeadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- DesiredState string
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- PubsubConfig PubSub Config Response 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- currentState String
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- deadLetter StringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState String
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig PubSub Config Response 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- currentState string
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- deadLetter stringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState string
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig PubSub Config Response 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- current_state str
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- dead_letter_ strtopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desired_state str
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsub_config PubSub Config Response 
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
- currentState String
- The current state of the export, which may be different to the desired state due to errors. This field is output only.
- deadLetter StringTopic 
- Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
- desiredState String
- The desired state of this export. Setting this to values other than ACTIVEandPAUSEDwill result in an error.
- pubsubConfig Property Map
- Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
PubSubConfig, PubSubConfigArgs      
- Topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- Topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic String
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic str
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic String
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
PubSubConfigResponse, PubSubConfigResponseArgs        
- Topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- Topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic String
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic string
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic str
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
- topic String
- The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.