Class: Aws::ElasticLoadBalancing::Types::AttachLoadBalancerToSubnetsInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancing/types.rb

Overview

Note:

When making an API call, you may pass AttachLoadBalancerToSubnetsInput data as a hash:

{
  load_balancer_name: "AccessPointName", # required
  subnets: ["SubnetId"], # required
}

Contains the parameters for AttachLoaBalancerToSubnets.

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


239
240
241
242
243
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 239

class AttachLoadBalancerToSubnetsInput < Struct.new(
  :load_balancer_name,
  :subnets)
  include Aws::Structure
end

#subnetsArray<String>

The IDs of the subnets to add. You can add only one subnet per Availability Zone.

Returns:

  • (Array<String>)


239
240
241
242
243
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 239

class AttachLoadBalancerToSubnetsInput < Struct.new(
  :load_balancer_name,
  :subnets)
  include Aws::Structure
end