elasticloadbalancing:SetSubnets is a Write access-level action in the elasticloadbalancing service. Grants permission to enable the Availability Zone for the specified subnets for the specified load balancer
ARNs that elasticloadbalancing:SetSubnets can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticloadbalancing:SetSubnets.
Filters access by a tag key and value pair of a resource
Filters access by the preface string for a tag key and value pair that are attached to a resource
A minimal policy that allows elasticloadbalancing:SetSubnets. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticloadbalancingSetSubnets",
"Effect": "Allow",
"Action": "elasticloadbalancing:SetSubnets",
"Resource": "*"
}
]
}