class AWS::Lambda::Function

Explicitly creating this element in order to compute the role ID if not a string

Attributes

role_object[RW]

Public Class Methods

new(cfn_model) click to toggle source
Calls superclass method ModelElement::new
# File lib/cfn-model/model/lambda_function.rb, line 10
def initialize(cfn_model)
  super
  @role_object = nil
  @resource_type = 'AWS::Lambda::Function'
end