Module: Lono::AwsServices
- Extended by:
- Memoist
- Includes:
- Helper
- Included in:
- Cfn::Base, Cfn::Cancel, Cfn::Delete, Cfn::Download, Cfn::Preview::Codediff, Cfn::Preview::Param, Cfn::Rollback, S3::AwsSetup, S3::Bucket, S3::Bucket, S3::Uploader, Script::Upload, Seed::Base, SetInstances::Changeable, SetInstances::List, Sets::Delete, Sets::List, Sets::Status, Sets::Status::Instance::Base, Sets::Status::Instances, Sets::Summarize, Template::Strategy::Dsl::Builder::Helpers::StackHelper
- Defined in:
- lib/lono/aws_services.rb,
lib/lono/aws_services/stack.rb,
lib/lono/aws_services/helper.rb,
lib/lono/aws_services/stack_set.rb
Defined Under Namespace
Modules: Helper, Stack, StackSet
Instance Method Summary
collapse
Methods included from Helper
#rollback_complete?, #testing_update?
Methods included from StackSet
#find_stack_set, #stack_set_exists?
Methods included from Stack
#find_stack, #stack_exists?
Instance Method Details
#cfn ⇒ Object
13
14
15
|
# File 'lib/lono/aws_services.rb', line 13
def cfn
Aws::CloudFormation::Client.new
end
|
#ec2 ⇒ Object
18
19
20
|
# File 'lib/lono/aws_services.rb', line 18
def ec2
Aws::EC2::Client.new
end
|
#iam ⇒ Object
23
24
25
|
# File 'lib/lono/aws_services.rb', line 23
def iam
Aws::IAM::Client.new
end
|
#s3 ⇒ Object
28
29
30
|
# File 'lib/lono/aws_services.rb', line 28
def s3
Aws::S3::Client.new
end
|
#s3_presigner ⇒ Object
38
39
40
|
# File 'lib/lono/aws_services.rb', line 38
def s3_presigner
Aws::S3::Presigner.new(client: s3)
end
|
#s3_resource ⇒ Object
33
34
35
|
# File 'lib/lono/aws_services.rb', line 33
def s3_resource
Aws::S3::Resource.new
end
|
#sts ⇒ Object
43
44
45
|
# File 'lib/lono/aws_services.rb', line 43
def sts
Aws::STS::Client.new end
|