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

Class: Aws::EC2::Types::AvailabilityZone

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes an Availability Zone or Local Zone.

Instance Attribute Summary collapse

Instance Attribute Details

#group_nameString

For Availability Zones, this parameter has the same value as the Region name.

For Local Zones, the name of the associated group, for example us-west-2-lax-1.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#messagesArray<Types::AvailabilityZoneMessage>

Any messages about the Availability Zone or Local Zone.

Returns:



2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#network_border_groupString

The name of the location from which the address is advertised.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#opt_in_statusString

For Availability Zones, this parameter always has the value of opt-in-not-required.

For Local Zones, this parameter is the opt in status. The possible values are opted-in, and not-opted-in.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#region_nameString

The name of the Region.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#stateString

The state of the Availability Zone or Local Zone.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#zone_idString

The ID of the Availability Zone or Local Zone.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end

#zone_nameString

The name of the Availability Zone or Local Zone.

Returns:

  • (String)


2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2077

class AvailabilityZone < Struct.new(
  :state,
  :opt_in_status,
  :messages,
  :region_name,
  :zone_name,
  :zone_id,
  :group_name,
  :network_border_group)
  include Aws::Structure
end