mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
478 B
JSON
21 lines
478 B
JSON
6 years ago
|
{
|
||
|
"Version":"2012-10-17",
|
||
|
"Id":"SomePolicyId",
|
||
|
"Statement" :[
|
||
|
{
|
||
|
"Sid":"Statement1",
|
||
|
"Effect":"Allow",
|
||
|
"Principal" :{
|
||
|
"AWS":"{{ sns_arn.split(':')[4] }}"
|
||
|
},
|
||
|
"Action":["sns:Subscribe"],
|
||
|
"Resource": "{{ sns_arn }}",
|
||
|
"Condition" :{
|
||
|
"StringEquals" :{
|
||
|
"sns:Protocol":"email"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|