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
#cfn ⇒ Object
41
42
43
|
# File 'lib/lono/aws_services.rb', line 41
def cfn
Aws::CloudFormation::Client.new
end
|
#ec2 ⇒ Object
11
12
13
|
# File 'lib/lono/aws_services.rb', line 11
def ec2
Aws::EC2::Client.new
end
|
#iam ⇒ Object
16
17
18
|
# File 'lib/lono/aws_services.rb', line 16
def iam
Aws::IAM::Client.new
end
|
#s3 ⇒ Object
26
27
28
|
# File 'lib/lono/aws_services.rb', line 26
def s3
Aws::S3::Client.new
end
|
#s3_presigner ⇒ Object
36
37
38
|
# File 'lib/lono/aws_services.rb', line 36
def s3_presigner
Aws::S3::Presigner.new(client: s3)
end
|
#s3_resource ⇒ Object
31
32
33
|
# File 'lib/lono/aws_services.rb', line 31
def s3_resource
Aws::S3::Resource.new
end
|
#sts ⇒ Object
21
22
23
|
# File 'lib/lono/aws_services.rb', line 21
def sts
Aws::STS::Client.new end
|