Created
April 9, 2024 09:32
-
-
Save sebastianrothbucher/002a724e8340dbb3da39af42a83b508d to your computer and use it in GitHub Desktop.
IoTcore simple policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"iot:Publish", | |
"iot:Receive", | |
"iot:PublishRetain" | |
], | |
"Resource": "arn:aws:iot:eu-central-1:525869301127:topic/test/one" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "iot:Subscribe", | |
"Resource": "arn:aws:iot:eu-central-1:525869301127:topicfilter/test/one" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "iot:Connect", | |
"Resource": [ | |
"arn:aws:iot:eu-central-1:525869301127:client/test", | |
"arn:aws:iot:eu-central-1:525869301127:client/testcli" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment