Class AWS::Core::Region
In: lib/aws/core/region.rb
Parent: Object

Represents an AWS region. A region has a name and provides access to service interface objects.

  aws = AWS.regions['us-west-1']

  aws.dynamo_db.tables.map(&:name)
  aws.ec2.instances.map(&:id)

Regions provide helper methods for each service.

@attr_reader [AutoScaling] auto_scaling @attr_reader [CloudFormation] cloud_formation @attr_reader [CloudFront] cloud_front @attr_reader [CloudSearch] cloud_search @attr_reader [CloudWatch] cloud_watch @attr_reader [DataPipeline] data_pipeline @attr_reader [DirectConnect] direct_connect @attr_reader [DynamoDB] dynamo_db @attr_reader [EC2] ec2 @attr_reader [ElasticBeanstalk] elastic_beanstalk @attr_reader [ElasticTranscoder] elastic_transcoder @attr_reader [ElastiCache] elasticache @attr_reader [ELB] elb @attr_reader [EMR] emr @attr_reader [Glacier] glacier @attr_reader [IAM] iam @attr_reader [ImportExport] import_export @attr_reader [OpsWorks] ops_works @attr_reader [RDS] rds @attr_reader [Redshift] redshift @attr_reader [Route53] route_53 @attr_reader [S3] s3 @attr_reader [SimpleEmailService] ses @attr_reader [SimpleDB] simple_db @attr_reader [SNS] sns @attr_reader [SQS] sqs @attr_reader [StorageGateway] storage_gateway @attr_reader [STS] sts @attr_reader [Support] support @attr_reader [SimpleWorkflow] swf

Methods

new  

Attributes

config  [R]  @return [Configuration]
name  [R]  @return [String] The name of this region (e.g. ‘us-west-1’).

Public Class methods

@param [String] name @option options [Configuration] :config (AWS.config)

[Validate]