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, "SubnetId" : String }

YAML

AllocationId: String IPv6Address: String PrivateIPv4Address: 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

SubnetId

The ID of the subnet.

Required: Yes

Type: String

Update requires: No interruption