Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Elastic Load Balancing LoadBalancer SubnetMapping

The SubnetMapping property type specifies the ID of a subnet to attach to an Elastic Load Balancing Application or Network Load Balancer.

SubnetMappings is a property of the AWS::ElasticLoadBalancingV2::LoadBalancer resource.

Syntax

JSON

Copy
{ "SubnetId" : String, "AllocationId" : String }

YAML

Copy
SubnetId: String AllocationId: String

Properties

SubnetId

The ID of the subnet.

Required: Yes

Type: String

Update requires: No interruption

AllocationId

[Network Load Balancer] The ID that represents the allocation of the Elastic IP address.

Required: Yes

Type: String

Update requires: No interruption

On this page: