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.

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<Types::AvailabilityZoneMessage>

Any messages about the Availability Zone.

Returns:



1313
1314
1315
1316
1317
1318
1319
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1313

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

#region_nameString

The name of the region.

Returns:

  • (String)


1313
1314
1315
1316
1317
1318
1319
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1313

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

#stateString

The state of the Availability Zone.

Returns:

  • (String)


1313
1314
1315
1316
1317
1318
1319
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1313

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

#zone_nameString

The name of the Availability Zone.

Returns:

  • (String)


1313
1314
1315
1316
1317
1318
1319
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1313

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