AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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",
  private_i_pv_4_address: "PrivateIPv4Address",
  i_pv_6_address: "IPv6Address",
}

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 for an internet-facing load balancer.

Returns:

  • (String)

    [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

#i_pv_6_addressString

[Network Load Balancers] The IPv6 address.

Returns:

  • (String)

    [Network Load Balancers] The IPv6 address.

#private_i_pv_4_addressString

[Network Load Balancers] The private IPv4 address for an internal load balancer.

Returns:

  • (String)

    [Network Load Balancers] The private IPv4 address for an internal load balancer.

#subnet_idString

The ID of the subnet.

Returns:

  • (String)

    The ID of the subnet.