mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
60e3af42d5
* Port sns_topic to boto3 and add tests
20 lines
475 B
JSON
20 lines
475 B
JSON
{
|
|
"Version":"2012-10-17",
|
|
"Id":"SomePolicyId",
|
|
"Statement" :[
|
|
{
|
|
"Sid":"ANewSid",
|
|
"Effect":"Allow",
|
|
"Principal" :{
|
|
"AWS":"{{ sns_arn.split(':')[4] }}"
|
|
},
|
|
"Action":["sns:Subscribe"],
|
|
"Resource": "{{ sns_arn }}",
|
|
"Condition" :{
|
|
"StringEquals" :{
|
|
"sns:Protocol":"email"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|