Class: CfnDsl::ConditionDefinition
- Includes:
- JSONSerialisableObject
- Defined in:
- lib/cfndsl/conditions.rb
Overview
Handles condition objects
Usage:
Condition :ConditionName, FnEqual(Ref(:ParameterName), 'helloworld')
Instance Method Summary collapse
-
#initialize(value) ⇒ ConditionDefinition
constructor
A new instance of ConditionDefinition.
Methods included from JSONSerialisableObject
Methods inherited from JSONable
#as_json, #declare, #incorrect_capitalization?, #method_missing, #ref_children, #titleize, #to_json
Methods included from Functions
#FnAnd, #FnBase64, #FnEquals, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnIf, #FnJoin, #FnNot, #FnOr, #FnSelect, #Ref
Methods included from RefCheck
#build_references, #ref_children
Constructor Details
#initialize(value) ⇒ ConditionDefinition
Returns a new instance of ConditionDefinition.
11 12 13 |
# File 'lib/cfndsl/conditions.rb', line 11 def initialize(value) @value = value end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CfnDsl::JSONable