AWS CloudFormation
User Guide (Version )

AWS::SNS::Topic Subscription

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

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 Simple Notification Service API Reference.

Required: Yes

Type: String

Update requires: Replacement

Protocol

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

Required: Yes

Type: String

Update requires: Replacement

On this page: