Class: RubyAemAws::AwsCreator
- Inherits:
-
Object
- Object
- RubyAemAws::AwsCreator
- Defined in:
- lib/ruby_aem_aws.rb
Overview
Encapsulate AWS class creation for mocking.
Class Method Summary collapse
Class Method Details
.create_aws ⇒ Object
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/ruby_aem_aws.rb', line 121 def self.create_aws { Ec2Client: Aws::EC2::Client.new, Ec2Resource: Aws::EC2::Resource.new, ElbClient: Aws::ElasticLoadBalancingV2::Client.new( retry_limit: 20 ), AutoScalingClient: Aws::AutoScaling::Client.new( retry_limit: 20 ), CloudFormationClient: Aws::CloudFormation::Client.new, CloudWatchClient: Aws::CloudWatch::Client.new( retry_limit: 20 ), CloudWatchLogsClient: Aws::CloudWatchLogs::Client.new( retry_limit: 20 ), DynamoDBClient: Aws::DynamoDB::Client.new, S3Client: Aws::S3::Client.new, S3Resource: Aws::S3::Resource.new } end |