Module: Eaglenube::AWSAgent
- Extended by:
- AWSCredentialBuilder
- Included in:
- Eaglenube::ApiWrapper::AWS::DbSnapshot, Eaglenube::ApiWrapper::AWS::ElasticIp, Eaglenube::ApiWrapper::AWS::InternetGateway, Eaglenube::ApiWrapper::AWS::SecurityGroup, Eaglenube::ApiWrapper::AWS::Snapshot
- Defined in:
- lib/eaglenube/aws_agent.rb
Class Method Summary collapse
- .get_acm_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_auto_scaling_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_cloud_watch_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_compute_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_ecs_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_elb_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_iam_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_kms_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_rds_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_redshift_agent(customer_cred, region_code = "us-east-1") ⇒ Object
- .get_s3_agent(customer_cred, region_code = "us-east-1") ⇒ Object
Methods included from AWSCredentialBuilder
Class Method Details
.get_acm_agent(customer_cred, region_code = "us-east-1") ⇒ Object
50 51 52 |
# File 'lib/eaglenube/aws_agent.rb', line 50 def self.get_acm_agent(customer_cred, region_code = "us-east-1") Aws::ACM::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_auto_scaling_agent(customer_cred, region_code = "us-east-1") ⇒ Object
22 23 24 |
# File 'lib/eaglenube/aws_agent.rb', line 22 def self.get_auto_scaling_agent(customer_cred, region_code = "us-east-1") Aws::AutoScaling::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_cloud_watch_agent(customer_cred, region_code = "us-east-1") ⇒ Object
30 31 32 |
# File 'lib/eaglenube/aws_agent.rb', line 30 def self.get_cloud_watch_agent(customer_cred, region_code = "us-east-1") Aws::CloudWatch::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_compute_agent(customer_cred, region_code = "us-east-1") ⇒ Object
10 11 12 |
# File 'lib/eaglenube/aws_agent.rb', line 10 def self.get_compute_agent(customer_cred, region_code = "us-east-1") Aws::EC2::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_ecs_agent(customer_cred, region_code = "us-east-1") ⇒ Object
42 43 44 |
# File 'lib/eaglenube/aws_agent.rb', line 42 def self.get_ecs_agent(customer_cred, region_code = "us-east-1") Aws::ECS::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_elb_agent(customer_cred, region_code = "us-east-1") ⇒ Object
18 19 20 |
# File 'lib/eaglenube/aws_agent.rb', line 18 def self.get_elb_agent(customer_cred, region_code = "us-east-1") Aws::ElasticLoadBalancing::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_iam_agent(customer_cred, region_code = "us-east-1") ⇒ Object
46 47 48 |
# File 'lib/eaglenube/aws_agent.rb', line 46 def self.get_iam_agent(customer_cred, region_code = "us-east-1") Aws::IAM::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_kms_agent(customer_cred, region_code = "us-east-1") ⇒ Object
38 39 40 |
# File 'lib/eaglenube/aws_agent.rb', line 38 def self.get_kms_agent(customer_cred, region_code = "us-east-1") Aws::KMS::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_rds_agent(customer_cred, region_code = "us-east-1") ⇒ Object
14 15 16 |
# File 'lib/eaglenube/aws_agent.rb', line 14 def self.get_rds_agent(customer_cred, region_code = "us-east-1") Aws::RDS::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_redshift_agent(customer_cred, region_code = "us-east-1") ⇒ Object
34 35 36 |
# File 'lib/eaglenube/aws_agent.rb', line 34 def self.get_redshift_agent(customer_cred, region_code = "us-east-1") Aws::Redshift::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |
.get_s3_agent(customer_cred, region_code = "us-east-1") ⇒ Object
26 27 28 |
# File 'lib/eaglenube/aws_agent.rb', line 26 def self.get_s3_agent(customer_cred, region_code = "us-east-1") Aws::S3::Client.new(region: region_code, credentials: build_credential(customer_cred)) end |