R01QS0053EJ0100
3
Create a policy
In the Name field, enter a name for the policy.
Then, change to Advanced mode
Give a policy name
Add following text to Advanced mode
{
"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": "*"
}
]
}
Add statements for policy
3. Create a policy