Subscription

class Subscription : KotlinCustomResource

Resource Type definition for AWS::SNS::Subscription

Properties

Link copied to clipboard
val arn: Output<String>

Arn of the subscription

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

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>?

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

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

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

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 id: Output<String>
Link copied to clipboard
val protocol: Output<String>

The subscription's protocol.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>?

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>?

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>?

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

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

Link copied to clipboard
val topicArn: Output<String>

The ARN of the topic to subscribe to.

Link copied to clipboard
val urn: Output<String>