AWS::SNS::Topic Subscription - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::SNS::Topic Subscription

Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.

Note

For full control over subscription behavior (for example, delivery policy, filtering, raw message delivery, and cross-region subscriptions), use the AWS::SNS::Subscription resource.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Endpoint" : String, "Protocol" : String }

YAML

Endpoint: String Protocol: String

Properties

Endpoint

The endpoint that receives notifications from the Amazon SNS topic. The endpoint value depends on the protocol that you specify. For more information, see the Endpoint parameter of the Subscribe action in the Amazon SNS API Reference.

Required: Yes

Type: String

Update requires: No interruption

Protocol

The subscription's protocol. For more information, see the Protocol parameter of the Subscribe action in the Amazon SNS API Reference.

Required: Yes

Type: String

Update requires: No interruption