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

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.



23
24
25
# File 'gems/aws-partitions/lib/aws-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 'gems/aws-partitions/lib/aws-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 'gems/aws-partitions/lib/aws-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 'gems/aws-partitions/lib/aws-partitions/region.rb', line 32

def services
  @services
end