set_ip_address_type
(**kwargs)¶Sets the type of IP addresses used by the subnets of the specified load balancer.
See also: AWS API Documentation
Request Syntax
response = client.set_ip_address_type(
LoadBalancerArn='string',
IpAddressType='ipv4'|'dualstack'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the load balancer.
[REQUIRED]
The IP address type. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). You can’t specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
dict
Response Syntax
{
'IpAddressType': 'ipv4'|'dualstack'
}
Response Structure
(dict) --
IpAddressType (string) --
The IP address type.
Exceptions
ElasticLoadBalancingv2.Client.exceptions.LoadBalancerNotFoundException
ElasticLoadBalancingv2.Client.exceptions.InvalidConfigurationRequestException
ElasticLoadBalancingv2.Client.exceptions.InvalidSubnetException