Class: AWS::Core::Region
- Inherits:
-
Object
- Object
- AWS::Core::Region
- Defined in:
- lib/aws/core/region.rb
Overview
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)
Instance Attribute Summary collapse
-
#auto_scaling ⇒ AutoScaling
readonly
The current value of auto_scaling.
-
#cloud_formation ⇒ CloudFormation
readonly
The current value of cloud_formation.
-
#cloud_front ⇒ CloudFront
readonly
The current value of cloud_front.
-
#cloud_search ⇒ CloudSearch
readonly
The current value of cloud_search.
-
#cloud_watch ⇒ CloudWatch
readonly
The current value of cloud_watch.
- #config ⇒ Configuration readonly
-
#data_pipeline ⇒ DataPipeline
readonly
The current value of data_pipeline.
-
#direct_connect ⇒ DirectConnect
readonly
The current value of direct_connect.
-
#dynamo_db ⇒ DynamoDB
readonly
The current value of dynamo_db.
-
#ec2 ⇒ EC2
readonly
The current value of ec2.
-
#elastic_beanstalk ⇒ ElasticBeanstalk
readonly
The current value of elastic_beanstalk.
-
#elastic_transcoder ⇒ ElasticTranscoder
readonly
The current value of elastic_transcoder.
-
#elasticache ⇒ ElastiCache
readonly
The current value of elasticache.
-
#elb ⇒ ELB
readonly
The current value of elb.
-
#emr ⇒ EMR
readonly
The current value of emr.
-
#glacier ⇒ Glacier
readonly
The current value of glacier.
-
#iam ⇒ IAM
readonly
The current value of iam.
-
#import_export ⇒ ImportExport
readonly
The current value of import_export.
-
#name ⇒ String
readonly
The name of this region (e.g. 'us-west-1').
-
#ops_works ⇒ OpsWorks
readonly
The current value of ops_works.
-
#rds ⇒ RDS
readonly
The current value of rds.
-
#redshift ⇒ Redshift
readonly
The current value of redshift.
-
#route_53 ⇒ Route53
readonly
The current value of route_53.
-
#s3 ⇒ S3
readonly
The current value of s3.
-
#simple_db ⇒ SimpleDB
readonly
The current value of simple_db.
-
#simple_email_service ⇒ SimpleEmailService
readonly
The current value of simple_email_service.
-
#simple_workflow ⇒ SimpleWorkflow
readonly
The current value of simple_workflow.
-
#sns ⇒ SNS
readonly
The current value of sns.
-
#sqs ⇒ SQS
readonly
The current value of sqs.
-
#storage_gateway ⇒ StorageGateway
readonly
The current value of storage_gateway.
-
#sts ⇒ STS
readonly
The current value of sts.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Region
constructor
A new instance of Region.
Constructor Details
Instance Attribute Details
#auto_scaling ⇒ AutoScaling (readonly)
Returns the current value of auto_scaling.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def auto_scaling @auto_scaling end |
#cloud_formation ⇒ CloudFormation (readonly)
Returns the current value of cloud_formation.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def cloud_formation @cloud_formation end |
#cloud_front ⇒ CloudFront (readonly)
Returns the current value of cloud_front.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def cloud_front @cloud_front end |
#cloud_search ⇒ CloudSearch (readonly)
Returns the current value of cloud_search.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def cloud_search @cloud_search end |
#cloud_watch ⇒ CloudWatch (readonly)
Returns the current value of cloud_watch.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def cloud_watch @cloud_watch end |
#config ⇒ Configuration (readonly)
69 70 71 |
# File 'lib/aws/core/region.rb', line 69 def config @config end |
#data_pipeline ⇒ DataPipeline (readonly)
Returns the current value of data_pipeline.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def data_pipeline @data_pipeline end |
#direct_connect ⇒ DirectConnect (readonly)
Returns the current value of direct_connect.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def direct_connect @direct_connect end |
#dynamo_db ⇒ DynamoDB (readonly)
Returns the current value of dynamo_db.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def dynamo_db @dynamo_db end |
#ec2 ⇒ EC2 (readonly)
Returns the current value of ec2.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def ec2 @ec2 end |
#elastic_beanstalk ⇒ ElasticBeanstalk (readonly)
Returns the current value of elastic_beanstalk.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def elastic_beanstalk @elastic_beanstalk end |
#elastic_transcoder ⇒ ElasticTranscoder (readonly)
Returns the current value of elastic_transcoder.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def elastic_transcoder @elastic_transcoder end |
#elasticache ⇒ ElastiCache (readonly)
Returns the current value of elasticache.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def elasticache @elasticache end |
#elb ⇒ ELB (readonly)
Returns the current value of elb.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def elb @elb end |
#emr ⇒ EMR (readonly)
Returns the current value of emr.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def emr @emr end |
#glacier ⇒ Glacier (readonly)
Returns the current value of glacier.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def glacier @glacier end |
#iam ⇒ IAM (readonly)
Returns the current value of iam.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def iam @iam end |
#import_export ⇒ ImportExport (readonly)
Returns the current value of import_export.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def import_export @import_export end |
#name ⇒ String (readonly)
Returns The name of this region (e.g. 'us-west-1').
66 67 68 |
# File 'lib/aws/core/region.rb', line 66 def name @name end |
#ops_works ⇒ OpsWorks (readonly)
Returns the current value of ops_works.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def ops_works @ops_works end |
#rds ⇒ RDS (readonly)
Returns the current value of rds.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def rds @rds end |
#redshift ⇒ Redshift (readonly)
Returns the current value of redshift.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def redshift @redshift end |
#route_53 ⇒ Route53 (readonly)
Returns the current value of route_53.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def route_53 @route_53 end |
#s3 ⇒ S3 (readonly)
Returns the current value of s3.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def s3 @s3 end |
#simple_db ⇒ SimpleDB (readonly)
Returns the current value of simple_db.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def simple_db @simple_db end |
#simple_email_service ⇒ SimpleEmailService (readonly)
Returns the current value of simple_email_service.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def simple_email_service @simple_email_service end |
#simple_workflow ⇒ SimpleWorkflow (readonly)
Returns the current value of simple_workflow.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def simple_workflow @simple_workflow end |
#sns ⇒ SNS (readonly)
Returns the current value of sns.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def sns @sns end |
#sqs ⇒ SQS (readonly)
Returns the current value of sqs.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def sqs @sqs end |
#storage_gateway ⇒ StorageGateway (readonly)
Returns the current value of storage_gateway.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def storage_gateway @storage_gateway end |
#sts ⇒ STS (readonly)
Returns the current value of sts.
55 56 57 |
# File 'lib/aws/core/region.rb', line 55 def sts @sts end |