Class: RubyAemAws::ConsolidatedStack
- Inherits:
-
Object
- Object
- RubyAemAws::ConsolidatedStack
- Defined in:
- lib/ruby_aem_aws/architecture/consolidated_stack.rb
Overview
Factory for the consolidated AEM stack component interface.
Instance Attribute Summary collapse
-
#cloudformation_client ⇒ Object
readonly
Returns the value of attribute cloudformation_client.
Instance Method Summary collapse
-
#author_publish_dispatcher ⇒ Object
New RubyAemAws::Component::AuthorPublishDispatcher instance.
-
#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.
-
Ec2Resource: AWS EC2 Resource connection.
29 30 31 32 33 34 35 36 37 |
# File 'lib/ruby_aem_aws/architecture/consolidated_stack.rb', line 29 def initialize(stack_prefix, params) @consolidated_aws_clients = { CloudWatchClient: params[:CloudWatchClient], CloudWatchLogsClient: params[:CloudWatchLogsClient], Ec2Resource: params[:Ec2Resource] } @cloudformation_client = cloudformation_client @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/consolidated_stack.rb', line 20 def cloudformation_client @cloudformation_client end |
Instance Method Details
#author_publish_dispatcher ⇒ Object
Returns new RubyAemAws::Component::AuthorPublishDispatcher instance.
40 41 42 |
# File 'lib/ruby_aem_aws/architecture/consolidated_stack.rb', line 40 def RubyAemAws::Component::AuthorPublishDispatcher.new(@stack_prefix, @consolidated_aws_clients) end |