github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/aws/d/sns_topic.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_sns_topic 4 sidebar_current: "docs-aws-datasource-sns-topic" 5 description: |- 6 Get information on a Amazon Simple Notification Service (SNS) Topic 7 --- 8 9 # aws\_sns\_topic 10 11 Use this data source to get the ARN of a topic in AWS Simple Notification 12 Service (SNS). By using this data source, you can reference SNS topics 13 without having to hard code the ARNs as input. 14 15 ## Example Usage 16 17 ``` 18 data "aws_sns_topic" "example" { 19 name = "an_example_topic" 20 } 21 ``` 22 23 ## Argument Reference 24 25 * `name` - (Required) The friendly name of the topic to match. 26 27 ## Attributes Reference 28 29 * `arn` - Set to the ARN of the found topic, suitable for referencing in other resources that support SNS topics.