Module: Lono::AwsServices

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

#cfnObject



13
14
15
# File 'lib/lono/aws_services.rb', line 13

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

#ec2Object



18
19
20
# File 'lib/lono/aws_services.rb', line 18

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

#iamObject



23
24
25
# File 'lib/lono/aws_services.rb', line 23

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

#s3Object



28
29
30
# File 'lib/lono/aws_services.rb', line 28

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

#s3_presignerObject



38
39
40
# File 'lib/lono/aws_services.rb', line 38

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

#s3_resourceObject



33
34
35
# File 'lib/lono/aws_services.rb', line 33

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

#stsObject



43
44
45
# File 'lib/lono/aws_services.rb', line 43

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