ExportConfigArgs

data class ExportConfigArgs(val deadLetterTopic: Output<String>? = null, val desiredState: Output<ExportConfigDesiredState>? = null, val pubsubConfig: Output<PubSubConfigArgs>? = null) : ConvertibleToJava<ExportConfigArgs>

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

Constructors

Link copied to clipboard
fun ExportConfigArgs(deadLetterTopic: Output<String>? = null, desiredState: Output<ExportConfigDesiredState>? = null, pubsubConfig: Output<PubSubConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ExportConfigArgs

Properties

Link copied to clipboard
val deadLetterTopic: Output<String>? = null

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.

Link copied to clipboard

The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.

Link copied to clipboard
val pubsubConfig: Output<PubSubConfigArgs>? = null

Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.