class AWS::CloudFormation::Helper
Main module
Attributes
context[R]
event[R]
Public Class Methods
logger()
click to toggle source
# File lib/aws_cloudformation_helper.rb, line 25 def self.logger @logger ||= Logger.new @logger end
new(lambda_class, event, context)
click to toggle source
# File lib/aws_cloudformation_helper.rb, line 15 def initialize(lambda_class, event, context) # Ruby context object: https://docs.aws.amazon.com/lambda/latest/dg/ruby-context.html @context = context # Initialize event object @event = Event.new(event, lambda_class.method(:create), lambda_class.method(:delete), lambda_class.method(:update)) Event.instance = @event end
Public Instance Methods
logger()
click to toggle source
# File lib/aws_cloudformation_helper.rb, line 30 def logger self.class.logger end