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

Class: Aws::ElasticLoadBalancingV2::Types::SetSubnetsInput

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 SetSubnetsInput data as a hash:

{
  load_balancer_arn: "LoadBalancerArn", # required
  subnets: ["SubnetId"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#load_balancer_arnString

The Amazon Resource Name (ARN) of the load balancer.

Returns:

  • (String)


1884
1885
1886
1887
1888
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1884

class SetSubnetsInput < Struct.new(
  :load_balancer_arn,
  :subnets)
  include Aws::Structure
end

#subnetsArray<String>

The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.

Returns:

  • (Array<String>)


1884
1885
1886
1887
1888
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1884

class SetSubnetsInput < Struct.new(
  :load_balancer_arn,
  :subnets)
  include Aws::Structure
end