AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping

Specifies a subnet for a load balancer.

Syntax

To declare this entity in your 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