Class: CfnDsl::RefDefinition
- Defined in:
- lib/cfndsl/jsonable.rb
Overview
Handles the Ref objects
Instance Method Summary collapse
- #all_refs ⇒ Object
-
#initialize(value) ⇒ RefDefinition
constructor
A new instance of RefDefinition.
Methods inherited from JSONable
#as_json, #declare, #external_parameters, external_parameters, #ref_children, #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) ⇒ RefDefinition
Returns a new instance of RefDefinition.
210 211 212 |
# File 'lib/cfndsl/jsonable.rb', line 210 def initialize(value) @Ref = value end |
Instance Method Details
#all_refs ⇒ Object
214 215 216 |
# File 'lib/cfndsl/jsonable.rb', line 214 def all_refs [@Ref] end |