mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 10:01:08 -04:00
950 B
950 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: sns_topic | docs-aws-resource-sns-topic | Provides an SNS topic resource. |
aws_sns_topic
Provides an SNS topic resource
Example Usage
resource "aws_sns_topic" "user_updates" {
name = "user-updates-topic"
}
Argument Reference
The following arguments are supported:
name- (Required) The friendly name for the SNS topicdisplay_name- (Optional) The display name for the SNS topicpolicy- (Optional) The fully-formed AWS policy as JSONdelivery_policy- (Optional) The SNS delivery policy
Attributes Reference
The following attributes are exported:
id- The ARN of the SNS topicarn- The ARN of the SNS topic, as a more obvious property (clone of id)
Import
SNS Topics can be imported using the topic arn, e.g.
$ terraform import aws_sns_topic.user_updates arn:aws:sns:us-west-2:0123456789012:my-topic