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

Class: Aws::Partitions::Region

Inherits:
Object
  • Object
show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/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.



23
24
25
# File 'aws-sdk-core/lib/aws-sdk-core/partitions/region.rb', line 23

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



20
21
22
# File 'aws-sdk-core/lib/aws-sdk-core/partitions/region.rb', line 20

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



27
28
29
# File 'aws-sdk-core/lib/aws-sdk-core/partitions/region.rb', line 27

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.



32
33
34
# File 'aws-sdk-core/lib/aws-sdk-core/partitions/region.rb', line 32

def services
  @services
end