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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Note:

When making an API call, you may pass SubnetMapping data as a 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)


2075
2076
2077
2078
2079
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2075

class SubnetMapping < Struct.new(
  :subnet_id,
  :allocation_id)
  include Aws::Structure
end

#subnet_idString

The ID of the subnet.

Returns:

  • (String)


2075
2076
2077
2078
2079
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2075

class SubnetMapping < Struct.new(
  :subnet_id,
  :allocation_id)
  include Aws::Structure
end