Class: AWS::Lambda::Function
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::Lambda::Function
- Defined in:
- lib/cfn-model/model/lambda_function.rb
Overview
Explicitly creating this element in order to compute the role ID if not a string
Instance Attribute Summary collapse
-
#role_object ⇒ Object
Returns the value of attribute role_object.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ Function
constructor
A new instance of Function.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ Function
Returns a new instance of Function.
10 11 12 13 14 |
# File 'lib/cfn-model/model/lambda_function.rb', line 10 def initialize(cfn_model) super @role_object = nil @resource_type = 'AWS::Lambda::Function' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#role_object ⇒ Object
Returns the value of attribute role_object.
8 9 10 |
# File 'lib/cfn-model/model/lambda_function.rb', line 8 def role_object @role_object end |