module Moonshot::CredsHelper

Create convenience methods for various AWS client creation.

Public Instance Methods

as_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 20
def as_client
  Aws::AutoScaling::Client.new
end
cd_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 8
def cd_client
  Aws::CodeDeploy::Client.new
end
cf_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 4
def cf_client
  Aws::CloudFormation::Client.new
end
ec2_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 12
def ec2_client
  Aws::EC2::Client.new
end
iam_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 16
def iam_client
  Aws::IAM::Client.new
end
s3_client() click to toggle source
# File lib/moonshot/creds_helper.rb, line 24
def s3_client
  Aws::S3::Client.new
end