Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::Partitions::Region

Inherits:
Object
  • Object
show all
Defined in:
gems/aws-partitions/lib/aws-partitions/region.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString (readonly)

Returns A short description of this region.

Returns:

  • (String)

    A short description of this region.


25
26
27
# File 'gems/aws-partitions/lib/aws-partitions/region.rb', line 25

def description
  @description
end

#nameString (readonly)

Returns The name of this region, e.g. "us-east-1".

Returns:

  • (String)

    The name of this region, e.g. "us-east-1".


22
23
24
# File 'gems/aws-partitions/lib/aws-partitions/region.rb', line 22

def name
  @name
end

#partition_nameString (readonly)

Returns The partition this region exists in, e.g. "aws", "aws-cn", "aws-us-gov".

Returns:

  • (String)

    The partition this region exists in, e.g. "aws", "aws-cn", "aws-us-gov".


29
30
31
# File 'gems/aws-partitions/lib/aws-partitions/region.rb', line 29

def partition_name
  @partition_name
end

#servicesSet<String> (readonly)

Returns The list of services available in this region. Service names are the module names as used by the AWS SDK for Ruby.

Returns:

  • (Set<String>)

    The list of services available in this region. Service names are the module names as used by the AWS SDK for Ruby.


34
35
36
# File 'gems/aws-partitions/lib/aws-partitions/region.rb', line 34

def services
  @services
end