AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


The AWS::SNS::TopicPolicy resource associates Amazon SNS topics with a policy. For an example snippet, see Declaring an Amazon SNS Policy in the AWS CloudFormation User Guide.


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


{ "Type" : "AWS::SNS::TopicPolicy", "Properties" : { "PolicyDocument" : Json, "Topics" : [ String, ... ] } }


Type: AWS::SNS::TopicPolicy Properties: PolicyDocument: Json Topics: - String



A policy document that contains permissions to add to the specified SNS topics.

Required: Yes

Type: Json

Update requires: No interruption


The Amazon Resource Names (ARN) of the topics to which you want to add the policy. You can use the Ref function to specify an AWS::SNS::Topic resource.

Required: Yes

Type: List of String

Update requires: No interruption

On this page: