Skip to content

Commit ceb4957

Browse files
authored
Correct provisioning sample policy template (#82)
1 parent 1159294 commit ceb4957

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ and receive.
322322
{
323323
"Effect": "Allow",
324324
"Action": [
325-
"iot:Receive",
326-
"iot:Subscribe"
325+
"iot:Receive"
327326
],
328327
"Resource": [
329328
"arn:aws:iot:<b>region</b>:<b>account</b>:topic/$aws/certificates/create/json/accepted",
@@ -334,6 +333,21 @@ and receive.
334333
"arn:aws:iot:<b>region</b>:<b>account</b>:topic/$aws/provisioning-templates/<b>templatename<b>/provision/json/rejected"
335334
]
336335
},
336+
337+
{
338+
"Effect": "Allow",
339+
"Action": [
340+
"iot:Subscribe"
341+
],
342+
"Resource": [
343+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/certificates/create/json/accepted",
344+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/certificates/create/json/rejected",
345+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/certificates/create-from-csr/json/accepted",
346+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/certificates/create-from-csr/json/rejected",
347+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/provisioning-templates/<b>templatename<b>/provision/json/accepted",
348+
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/$aws/provisioning-templates/<b>templatename<b>/provision/json/rejected"
349+
]
350+
},
337351
{
338352
"Effect": "Allow",
339353
"Action": "iot:Connect",

0 commit comments

Comments
 (0)