class RubyAemAws::ConsolidatedStack
Factory for the consolidated AEM stack component interface.
Attributes
cloudformation_client[R]
Public Class Methods
new(stack_prefix, params)
click to toggle source
@param stack_prefix AWS tag: StackPrefix @param params Array of AWS Clients and Resource connections:
-
CloudFormationClient: AWS Cloudformation Client.
-
CloudWatchClient: AWS Cloudwatch Client.
-
CloudWatchLogsClient: AWS Cloudwatch Logs Client.
-
Ec2Resource: AWS EC2 Resource connection.
@return new RubyAemAws::ConsolidatedStack
instance
# 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