Skip to content

Commit

Permalink
update node sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jmklix authored Aug 12, 2024
1 parent 8d4a723 commit c829f0f
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions samples/node/custom_authorizer_connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,30 @@ Your IoT Core Thing's [Policy](https://docs.aws.amazon.com/iot/latest/developerg
"Statement": [
{
"Effect": "Allow",
"Action": [
"iot:Connect"
],
"Action": "iot:Connect",
"Resource": [
"arn:aws:iot:<b>region</b>:<b>account</b>:client/test-*"
"arn:aws:iot:<b>region</b>:<b>account</b>:client/custom_authorizer_connect_sample*"
]
},
{
"Effect": "Allow",
"Action": "iot:Publish",
"Resource": [
"arn:aws:iot:<b>region</b>:<b>account</b>:topic/test/topic"
]
},
{
"Effect": "Allow",
"Action": "iot:Subscribe",
"Resource": [
"arn:aws:iot:<b>region</b>:<b>account</b>:topicfilter/test/topic"
]
},
{
"Effect": "Allow",
"Action": "iot:Receive",
"Resource": [
"arn:aws:iot:<b>region</b>:<b>account</b>:topic/test/topic"
]
}
]
Expand Down

0 comments on commit c829f0f

Please sign in to comment.