aws::sns-topic

Creates a SNS topic.

Example

aws::sns-topic sns-topic-example
    name: "sns-topic"
    display-name: "sns-topic-example-ex"
    policy: "sns-policy.json"
end

Attributes

Attribute Description
name The name of the topic. Must be a string 1-256 characters long containing alphanumeric characters, hyphens or underscores. Valid values satisfy the regex: [[a-zA-Z0-9_.-]{1,256}]. (Required)
delivery-policy The delivery retry policy for the sns topic. May be json file or json blob.
policy The access policy for the sns topic. May be json file or json blob.
display-name The sns topic display name. Must be a string containing 1-100 alphanumeric characters, hyphens or underscores. Valid values satisfy the regex: [[a-zA-Z0-9_.-]{1,100}].
tags map The tags for the sns topic.

Outputs

Attribute Description
arn The arn of the sns topic.