{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "EC2AllAccess",
"Action": "*",
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "EC2TokyoOnly",
"Action": "*",
"Effect": "Deny",
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:Region": "ap-northeast-1"
}
}
}
]
}
특정 Region 에서만 리소스를 컨트롤 할수없게하는 iam policy
'AWS > IAM' 카테고리의 다른 글
[IAM policy] Security Group 추가 제거에 필요한 권한 (0) | 2017.10.30 |
---|---|
[IAM policy] only allow region access (0) | 2017.05.16 |
[IAM policy] region access (0) | 2017.01.16 |