This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping
Specifies a subnet for a load balancer.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AllocationId" :String, "IPv6Address" :String, "PrivateIPv4Address" :String, "SourceNatIpv6Prefix" :String, "SubnetId" :String}
YAML
AllocationId:StringIPv6Address:StringPrivateIPv4Address:StringSourceNatIpv6Prefix:StringSubnetId: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_assignedto 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