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)


245
246
247
248
249
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 245

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>)


245
246
247
248
249
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 245

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