github.com/armen/terraform@v0.5.2-0.20150529052519-caa8117a08f1/website/source/docs/providers/aws/r/sns_topic.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: sns_topic"
     4  sidebar_current: "docs-aws-resource-sns-topic"
     5  description: |-
     6    Provides an SNS topic resource.
     7  ---
     8  
     9  # aws\_sns\_topic
    10  
    11  Provides an SNS topic resource
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_sns_topic" "user_updates" {
    17    name = "user-updates-topic"
    18  }
    19  ```
    20  
    21  ## Argument Reference
    22  
    23  The following arguments are supported:
    24  
    25  * `name` - (Required) The friendly name for the SNS topic
    26  * `policy` - (Optional) The fully-formed AWS policy as JSON
    27  * `delivery_policy` - (Optional) The SNS delivery policy
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33  * `id` - The ARN of the SNS topic
    34  * `arn` - The ARN of the SNS topic, as a more obvious property (clone of id)
    35