Module: Moonshot::CredsHelper
- Included in:
- ArtifactRepository::S3Bucket, DeploymentMechanism::CodeDeploy, Plugins::Backup, Stack, StackASGPrinter, StackLister
- Defined in:
- lib/moonshot/creds_helper.rb
Overview
Create convenience methods for various AWS client creation.
Instance Method Summary collapse
- #as_client ⇒ Object
- #cd_client ⇒ Object
- #cf_client ⇒ Object
- #ec2_client ⇒ Object
- #iam_client ⇒ Object
- #s3_client ⇒ Object
Instance Method Details
#as_client ⇒ Object
20 21 22 |
# File 'lib/moonshot/creds_helper.rb', line 20 def as_client Aws::AutoScaling::Client.new end |
#cd_client ⇒ Object
8 9 10 |
# File 'lib/moonshot/creds_helper.rb', line 8 def cd_client Aws::CodeDeploy::Client.new end |
#cf_client ⇒ Object
4 5 6 |
# File 'lib/moonshot/creds_helper.rb', line 4 def cf_client Aws::CloudFormation::Client.new end |
#ec2_client ⇒ Object
12 13 14 |
# File 'lib/moonshot/creds_helper.rb', line 12 def ec2_client Aws::EC2::Client.new end |
#iam_client ⇒ Object
16 17 18 |
# File 'lib/moonshot/creds_helper.rb', line 16 def iam_client Aws::IAM::Client.new end |
#s3_client ⇒ Object
24 25 26 |
# File 'lib/moonshot/creds_helper.rb', line 24 def s3_client Aws::S3::Client.new end |