summaryrefslogtreecommitdiff
path: root/tools/aws_config_quick_start/policy_document.templ
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aws_config_quick_start/policy_document.templ')
-rw-r--r--tools/aws_config_quick_start/policy_document.templ25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/aws_config_quick_start/policy_document.templ b/tools/aws_config_quick_start/policy_document.templ
new file mode 100644
index 000000000..dd33f15a6
--- /dev/null
+++ b/tools/aws_config_quick_start/policy_document.templ
@@ -0,0 +1,25 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": "iot:Connect",
+ "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
+ },
+ {
+ "Effect": "Allow",
+ "Action": "iot:Publish",
+ "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
+ },
+ {
+ "Effect": "Allow",
+ "Action": "iot:Subscribe",
+ "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
+ },
+ {
+ "Effect": "Allow",
+ "Action": "iot:Receive",
+ "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
+ }
+ ]
+} \ No newline at end of file