Policies
Policy files
Policy type
Directory
Example
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyAllOutsideAllowedRegions",
"Effect": "Deny",
"Action": "*",
"Resource": "*",
"Condition": {
"StringNotEquals": {
"aws:RequestedRegion": [
"us-east-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"eu-north-1"
]
}
}
}
]
}Declaring policies
Policy type
Property
Example
AWS managed policies
Example
Attaching policies
Policy type
Property
Example
Last updated
Was this helpful?