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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancing/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 'gems/aws-sdk-elasticloadbalancing/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 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 239

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