The following is an example for the policy. This policy allows access to all topics under your AWS
IoT account. Copy/paste the following text to policy statement.
5.
Select
Advance mode
to add statements.
Figure 5-21. Adding Statements using Advanced Mode Option
6.
Add the following example policy to the policy statement to allow access to all topics under the
specific AWS IoT account.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:Connect",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iot:Publish",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iot:Subscribe",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "iot:Receive",
"Resource": "*"
}
ATWINC15x0 Smart Device Kit
AWS Setup
©
2019 Microchip Technology Inc.
User Guide
DS50002885A-page 39