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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


264
265
266
267
268
269
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 264

class AttachLoadBalancerToSubnetsInput < Struct.new(
  :load_balancer_name,
  :subnets)
  SENSITIVE = []
  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>)


264
265
266
267
268
269
# File 'lib/aws-sdk-elasticloadbalancing/types.rb', line 264

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