AWS::SNS::Topic Subscription - AWS CloudFormation

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