SubscriptionArgs

data class SubscriptionArgs(val deliveryPolicy: Output<Any>? = null, val endpoint: Output<String>? = null, val filterPolicy: Output<Any>? = null, val filterPolicyScope: Output<String>? = null, val protocol: Output<String>? = null, val rawMessageDelivery: Output<Boolean>? = null, val redrivePolicy: Output<Any>? = null, val region: Output<String>? = null, val replayPolicy: Output<Any>? = null, val subscriptionRoleArn: Output<String>? = null, val topicArn: Output<String>? = null) : ConvertibleToJava<SubscriptionArgs>

Resource Type definition for AWS::SNS::Subscription

Constructors

Link copied to clipboard
constructor(deliveryPolicy: Output<Any>? = null, endpoint: Output<String>? = null, filterPolicy: Output<Any>? = null, filterPolicyScope: Output<String>? = null, protocol: Output<String>? = null, rawMessageDelivery: Output<Boolean>? = null, redrivePolicy: Output<Any>? = null, region: Output<String>? = null, replayPolicy: Output<Any>? = null, subscriptionRoleArn: Output<String>? = null, topicArn: Output<String>? = null)

Properties

Link copied to clipboard
val deliveryPolicy: Output<Any>? = null

The delivery policy JSON assigned to the subscription. Enables the subscriber to define the message delivery retry strategy in the case of an HTTP/S endpoint subscribed to the topic. Search the CloudFormation User Guide for AWS::SNS::Subscription for more information about the expected schema for this property.

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

The subscription's endpoint. The endpoint value depends on the protocol that you specify.

Link copied to clipboard
val filterPolicy: Output<Any>? = null

The filter policy JSON assigned to the subscription. Enables the subscriber to filter out unwanted messages. Search the CloudFormation User Guide for AWS::SNS::Subscription for more information about the expected schema for this property.

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

This attribute lets you choose the filtering scope by using one of the following string value types: MessageAttributes (default) and MessageBody.

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

The subscription's protocol.

Link copied to clipboard
val rawMessageDelivery: Output<Boolean>? = null

When set to true, enables raw message delivery. Raw messages don't contain any JSON formatting and can be sent to Amazon SQS and HTTP/S endpoints.

Link copied to clipboard
val redrivePolicy: Output<Any>? = null

When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors are held in the dead-letter queue for further analysis or reprocessing. Search the CloudFormation User Guide for AWS::SNS::Subscription for more information about the expected schema for this property.

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

For cross-region subscriptions, the region in which the topic resides.If no region is specified, AWS CloudFormation uses the region of the caller as the default.

Link copied to clipboard
val replayPolicy: Output<Any>? = null

Specifies whether Amazon SNS resends the notification to the subscription when a message's attribute changes. Search the CloudFormation User Guide for AWS::SNS::Subscription for more information about the expected schema for this property.

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

This property applies only to Amazon Data Firehose delivery stream subscriptions.

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

The ARN of the topic to subscribe to.

Functions

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