You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticLoadBalancingV2::Types::SubnetMapping

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SubnetMapping as input to an Aws::Client method, you can use a vanilla Hash:

{
  subnet_id: "SubnetId",
  allocation_id: "AllocationId",
}

Information about a subnet mapping.

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

[Network Load Balancers] The allocation ID of the Elastic IP address.

Returns:

  • (String)

    [Network Load Balancers] The allocation ID of the Elastic IP address.

#subnet_idString

The ID of the subnet.

Returns:

  • (String)

    The ID of the subnet.