AWS::SNS::TopicPolicy
The AWS::SNS::TopicPolicy resource associates Amazon SNS topics
with a policy. For an example snippet, see Declaring
an Amazon SNS policy in the Amazon CloudFormation User
Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::SNS::TopicPolicy", "Properties" : { "PolicyDocument" :Json, "Topics" :[ String, ... ]} }
YAML
Type: AWS::SNS::TopicPolicy Properties: PolicyDocument:JsonTopics:- String
Properties
PolicyDocument-
A policy document that contains permissions to add to the specified SNS topics.
Required: Yes
Type: Json
Update requires: No interruption
Topics-
The Amazon Resource Names (ARN) of the topics to which you want to add the policy. You can use the
Reffunction to specify anAWS::SNS::Topicresource.Required: Yes
Type: List of String
Update requires: No interruption