class AWS::Core::Region
@attr_reader [SimpleWorkflow] swf
@attr_reader [Support] support
@attr_reader [STS] sts
@attr_reader [StorageGateway] storage_gateway
@attr_reader [SQS] sqs
@attr_reader [SNS] sns
@attr_reader [SimpleDB] simple_db
@attr_reader [SimpleEmailService] ses
@attr_reader [S3] s3
@attr_reader [Route53] route_53
@attr_reader [Redshift] redshift
@attr_reader [RDS] rds
@attr_reader [OpsWorks] ops_works
@attr_reader [ImportExport] import_export
@attr_reader [IAM] iam
@attr_reader [Glacier] glacier
@attr_reader [EMR] emr
@attr_reader [ELB] elb
@attr_reader [ElastiCache] elasticache
@attr_reader [ElasticTranscoder] elastic_transcoder
@attr_reader [ElasticBeanstalk] elastic_beanstalk
@attr_reader [EC2] ec2
@attr_reader [DynamoDB] dynamo_db
@attr_reader [DirectConnect] direct_connect
@attr_reader [DataPipeline] data_pipeline
@attr_reader [CloudWatch] cloud_watch
@attr_reader [CloudTrail] cloud_trail
@attr_reader [CloudSearch] cloud_search
@attr_reader [CloudFront] cloud_front
@attr_reader [CloudFormation] cloud_formation
@attr_reader [AutoScaling] auto_scaling
Regions provide helper methods for each service.
aws.ec2.instances.map(&:id)
aws.dynamo_db.tables.map(&:name)
aws = AWS.regions[‘us-west-1’]
to service interface objects.
Represents an AWS region. A region has a name and provides access
def initialize name, options = {}
(**options)
-
:config
(Configuration
) --
Parameters:
-
name
(String
) --
def initialize name, options = {} @name = name @config = options[:config] || AWS.config @config = @config.with(:region => name) end