I want to deny one of load balancers and following is the permission.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"elasticloadbalancing:*"
],
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"elasticloadbalancing:*"
],
"Resource": "arn:aws:elasticloadbalancing:ap-northeast-1:594348282413:loadbalancer/app/aws-alb-gvlf/a2d193cf5979c45b"
}
]
}
But the permission doesn’t work. I still can use all actions. Please some one help with this.