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

Class: Aws::ElasticLoadBalancing::Types::AddAvailabilityZonesInput

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

{
  load_balancer_name: "AccessPointName", # required
  availability_zones: ["AvailabilityZone"], # required
}

Contains the parameters for EnableAvailabilityZonesForLoadBalancer.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<String>

The Availability Zones. These must be in the same region as the load balancer.

Returns:

  • (Array<String>)


75
76
77
78
79
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 75

class AddAvailabilityZonesInput < Struct.new(
  :load_balancer_name,
  :availability_zones)
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


75
76
77
78
79
# File 'gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/types.rb', line 75

class AddAvailabilityZonesInput < Struct.new(
  :load_balancer_name,
  :availability_zones)
  include Aws::Structure
end