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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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)

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

#messagesArray<Types::AvailabilityZoneMessage>

Any messages about the Availability Zone or Local Zone.

Returns:

#network_border_groupString

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

Returns:

  • (String)

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

#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.

Possible values:

  • opt-in-not-required
  • opted-in
  • not-opted-in

Returns:

  • (String)

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

#region_nameString

The name of the Region.

Returns:

  • (String)

    The name of the Region.

#stateString

The state of the Availability Zone or Local Zone.

Possible values:

  • available
  • information
  • impaired
  • unavailable

Returns:

  • (String)

    The state of the Availability Zone or Local Zone.

#zone_idString

The ID of the Availability Zone or Local Zone.

Returns:

  • (String)

    The ID of the Availability Zone or Local Zone.

#zone_nameString

The name of the Availability Zone or Local Zone.

Returns:

  • (String)

    The name of the Availability Zone or Local Zone.