1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": ["ec2:*", "rds:*", "dynamodb:*"],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:RequestedRegion": ["eu-central-1", "eu-west-1"]
},
"ArnNotLike": {
"aws:PrincipalARN": ["arn:aws:iam::*::role/Role1AllowedToPassDenySCP"]
}
}
}
]
}
|