elasticloadbalancing:SetIpAddressType

Write

elasticloadbalancing:SetIpAddressType is a Write access-level action in the elasticloadbalancing service. Grants permission to set the type of IP addresses used by the subnets of the specified load balancer

Resource types

ARNs that elasticloadbalancing:SetIpAddressType can be scoped to in an IAM policy.

arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/app/${LoadBalancerName}/${LoadBalancerId}
loadbalancer/app/
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/gwy/${LoadBalancerName}/${LoadBalancerId}
loadbalancer/gwy/
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/net/${LoadBalancerName}/${LoadBalancerId}
loadbalancer/net/

Condition keys

Keys you can use in the Condition block of a policy that grants elasticloadbalancing:SetIpAddressType.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

elasticloadbalancing:ResourceTag/${TagKey} String

Filters access by the preface string for a tag key and value pair that are attached to a resource

Example IAM policy

A minimal policy that allows elasticloadbalancing:SetIpAddressType. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticloadbalancingSetIpAddressType",
      "Effect": "Allow",
      "Action": "elasticloadbalancing:SetIpAddressType",
      "Resource": "*"
    }
  ]
}

Related actions in elasticloadbalancing

View all elasticloadbalancing actions →