Skip to content

Commit e23862a

Browse files
committed
aws: Add documentation around aws_sns_topic.
1 parent 39df5d1 commit e23862a

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: "aws"
3+
page_title: "AWS: aws_sns_topic"
4+
sidebar_current: "docs-aws-resource-sns-topic"
5+
description: |-
6+
Provides an SNS topic
7+
---
8+
9+
# aws\_sns\_topic
10+
11+
Provides an SNS topic.
12+
13+
## Example Usage
14+
15+
```
16+
resource "aws_sns_topic" "topic" {
17+
name = "topic"
18+
}
19+
```
20+
21+
## Argument Reference
22+
23+
The following arguments are supported:
24+
25+
* `name` - (Required) The SNS topic's name.
26+
27+
## Attribute Reference
28+
29+
The following attributes are exported:
30+
31+
* `name` - The name of the topic.
32+
* `arn` - The ARN assigned by AWS to this topic.

website/source/layouts/aws.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@
140140
<a href="/docs/providers/aws/r/security_group_rule.html">aws_security_group_rule</a>
141141
</li>
142142

143+
<li<%= sidebar_current("docs-aws-resource-sns-topic") %>>
144+
<a href="/docs/providers/aws/r/sns_topic.html">aws_sns_topic</a>
145+
</li>
146+
143147
<li<%= sidebar_current("docs-aws-resource-subnet") %>>
144148
<a href="/docs/providers/aws/r/subnet.html">aws_subnet</a>
145149
</li>

0 commit comments

Comments
 (0)