Class: RubyAemAws::StackManager
- Inherits:
-
Object
- Object
- RubyAemAws::StackManager
- Defined in:
- lib/ruby_aem_aws/architecture/stack_manager.rb
Overview
Interface to interact with AEM StackManager
Instance Attribute Summary collapse
-
#cloudformation_client ⇒ Object
readonly
Returns the value of attribute cloudformation_client.
-
#sm_resources ⇒ Object
readonly
Returns the value of attribute sm_resources.
Instance Method Summary collapse
-
#initialize(stack_prefix, params) ⇒ Object
constructor
-
CloudFormationClient: AWS Cloudformation Client.
-
Constructor Details
#initialize(stack_prefix, params) ⇒ Object
-
CloudFormationClient: AWS Cloudformation Client.
-
CloudWatchClient: AWS Cloudwatch Client.
-
CloudWatchLogsClient: AWS Cloudwatch Logs Client.
-
DynamoDBClient: AWS DynamoDB Client.
-
S3Client: AWS S3 Client.
-
S3Resource: AWS S3 Resource connection.
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/ruby_aem_aws/architecture/stack_manager.rb', line 31 def initialize(stack_prefix, params) stack_manager_aws_client = { CloudWatchClient: params[:CloudWatchClient], CloudWatchLogsClient: params[:CloudWatchLogsClient], DynamoDBClient: params[:DynamoDBClient], S3Client: params[:S3Client], S3Resource: params[:S3Resource] } @sm_resources = RubyAemAws::Component::StackManagerResources.new(stack_manager_aws_client) @cloudformation_client = params[:CloudFormationClient] @stack_prefix = stack_prefix end |
Instance Attribute Details
#cloudformation_client ⇒ Object (readonly)
Returns the value of attribute cloudformation_client.
20 21 22 |
# File 'lib/ruby_aem_aws/architecture/stack_manager.rb', line 20 def cloudformation_client @cloudformation_client end |
#sm_resources ⇒ Object (readonly)
Returns the value of attribute sm_resources.
20 21 22 |
# File 'lib/ruby_aem_aws/architecture/stack_manager.rb', line 20 def sm_resources @sm_resources end |