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

Class: Aws::Lightsail::Types::AvailabilityZone

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

Overview

Describes an Availability Zone.

Instance Attribute Summary collapse

Instance Attribute Details

#stateString

The state of the Availability Zone.

Returns:

  • (String)


90
91
92
93
94
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 90

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

#zone_nameString

The name of the Availability Zone. The format is us-east-1a (case-sensitive).

Returns:

  • (String)


90
91
92
93
94
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 90

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