AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping - AWS CloudFormation

AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping

Specifies a subnet for a load balancer.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "AllocationId" : String, "IPv6Address" : String, "PrivateIPv4Address" : String, "SourceNatIpv6Prefix" : String, "SubnetId" : String }

YAML

AllocationId: String IPv6Address: String PrivateIPv4Address: String SourceNatIpv6Prefix: String SubnetId: String

Properties

AllocationId

[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

Required: No

Type: String

Update requires: No interruption

IPv6Address

[Network Load Balancers] The IPv6 address.

Required: No

Type: String

Update requires: No interruption

PrivateIPv4Address

[Network Load Balancers] The private IPv4 address for an internal load balancer.

Required: No

Type: String

Update requires: No interruption

SourceNatIpv6Prefix

[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

Required: No

Type: String

Update requires: No interruption

SubnetId

The ID of the subnet.

Required: Yes

Type: String

Update requires: No interruption