Skip to content

Commit 95ee0f7

Browse files
John Lindleyfabaff
John Lindley
authored andcommitted
Add instructions on how to configure SNS in AWS (home-assistant#689)
1 parent e79370d commit 95ee0f7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/_components/notify.aws_sns.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,18 @@ Configuration variables:
4040
AWS SNS is a notify platform and thus can be controlled by calling the notify service [as described here](/components/notify/). It will publish a message to all targets given in the notification payload. A target must be a SNS topic or endpoint ARN ([Amazon Resource Name](http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)). For more information, please see the [boto3 docs](http://boto3.readthedocs.io/en/latest/reference/services/sns.html#SNS.Client.publish).
4141

4242
If one exists, the SNS Subject will be set to the title. All attributes from the payload except message will be sent as stringified message attributes.
43+
44+
Setting up SNS within AWS:
45+
- Log into your AWS console and under "Security and Identity", select "Identity & Access Management".
46+
- On the left hand side, select "Users" then click “Create New Users”. Enter a name here and then click "Create".
47+
- You can either download the credentials or click the arrow to display them one time.
48+
**Caution** If you do not download them you’ll lose them and will have to recreate a new user.
49+
- Copy/Paste the two Keys that you’re provided here in your configuration.yaml respectively.
50+
- On the left hand side of the screen go back to “Users” and select the user you just created. On the “Permissions” tab click the “Attach Policy” icon. Search for “SNS” and attach the policy “AmazonSNSFUullAccess”
51+
- Back to the AWS Console you now need to find “SNS” and click in to that service. It is under the Mobile Services group.
52+
- On the left hand side, select “Topics” then “Create new topic”
53+
- Choose a Topic Name and Display Name.
54+
- Now check the box next to the Topic you just created and under Actions, select “Subscribe to topic”
55+
- In the box that pops up, select the Protocol = SMS and enter in the phone number next to "Endpoint" you wish to SMS. Now click "Create".
56+
- Repeat for additional numbers
57+
- Back in the "Users" section you’ll see a long alphanumeric line that starts with "arn:" and ends with the Topic Name you chose previously. This is what your “target” in Home Assistant will be.

0 commit comments

Comments
 (0)