Module: Lono::AwsServices

Extended by:
Memoist
Includes:
Util
Included in:
Lono::AppFile::Upload, Cfn::Base, Cfn::Cancel, Cfn::Delete, Cfn::Diff, Cfn::Rollback, S3::Bucket, S3::Bucket, Script::Upload, Seed::Base, Template::Upload
Defined in:
lib/lono/aws_services.rb,
lib/lono/aws_services/util.rb

Defined Under Namespace

Modules: Util

Instance Method Summary collapse

Methods included from Util

#find_stack, #rollback_complete?, #stack_exists?, #testing_update?

Instance Method Details

#cfnObject



41
42
43
# File 'lib/lono/aws_services.rb', line 41

def cfn
  Aws::CloudFormation::Client.new
end

#ec2Object



11
12
13
# File 'lib/lono/aws_services.rb', line 11

def ec2
  Aws::EC2::Client.new
end

#iamObject



16
17
18
# File 'lib/lono/aws_services.rb', line 16

def iam
  Aws::IAM::Client.new
end

#s3Object



26
27
28
# File 'lib/lono/aws_services.rb', line 26

def s3
  Aws::S3::Client.new
end

#s3_presignerObject



36
37
38
# File 'lib/lono/aws_services.rb', line 36

def s3_presigner
  Aws::S3::Presigner.new(client: s3)
end

#s3_resourceObject



31
32
33
# File 'lib/lono/aws_services.rb', line 31

def s3_resource
  Aws::S3::Resource.new
end

#stsObject



21
22
23
# File 'lib/lono/aws_services.rb', line 21

def sts
  Aws::STS::Client.new # part of aws-sdk-core
end