Create example IoT Thing policy (#731)

* Create example claim policy and update formatting on previous examples

* Add trailing linebreak
This commit is contained in:
johnrhen 2021-12-14 11:31:41 -08:00 committed by GitHub
parent 4610b37ade
commit a727061dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 95 additions and 85 deletions

View file

@ -1,4 +1,4 @@
{ {
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
@ -28,4 +28,4 @@
] ]
} }
] ]
} }

View file

@ -1,4 +1,4 @@
{ {
"Parameters": { "Parameters": {
"SerialNumber": { "SerialNumber": {
"Type": "String" "Type": "String"
@ -51,4 +51,4 @@
"DeviceConfiguration": { "DeviceConfiguration": {
"Foo": "Bar" "Foo": "Bar"
} }
} }

View file

@ -0,0 +1,10 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:Connect",
"Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
}
]
}