elasticloadbalancing:AttachLoadBalancerToSubnets is a Write access-level action in the elasticloadbalancing service. Grants permission to add one or more subnets to the set of configured subnets for the specified load balancer
ARNs that elasticloadbalancing:AttachLoadBalancerToSubnets can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticloadbalancing:AttachLoadBalancerToSubnets.
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:AttachLoadBalancerToSubnets. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticloadbalancingAttachLoadBalancerToSubnets",
"Effect": "Allow",
"Action": "elasticloadbalancing:AttachLoadBalancerToSubnets",
"Resource": "*"
}
]
}