deadLetterPolicy

@JvmName(name = "ldbdhmcgblnayuxj")
suspend fun deadLetterPolicy(value: Output<DeadLetterPolicyArgs>)
@JvmName(name = "vtvuqghvdhxiekob")
suspend fun deadLetterPolicy(value: DeadLetterPolicyArgs?)

Parameters

value

A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription.


@JvmName(name = "tvugnbpjgurjgoph")
suspend fun deadLetterPolicy(argument: suspend DeadLetterPolicyArgsBuilder.() -> Unit)

Parameters

argument

A policy that specifies the conditions for dead lettering messages in this subscription. If dead_letter_policy is not set, dead lettering is disabled. The Cloud Pub/Sub service account associated with this subscriptions's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Acknowledge() messages on this subscription.