Subscription

class Subscription : KotlinCustomResource

Creates a new subscription.

Properties

Link copied to clipboard

The settings for this subscription's message delivery.

Link copied to clipboard

If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val skipBacklog: Output<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.

Link copied to clipboard
val subscriptionId: Output<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.

Link copied to clipboard
val topic: Output<String>

The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Link copied to clipboard
val urn: Output<String>