Class: CfnDsl::RefDefinition
- Defined in:
- lib/cfndsl/jsonable.rb
Overview
Handles the Ref objects
Constant Summary
Constants included from Functions
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, #FnCidr, #FnEquals, #FnFindInMap, #FnGetAZs, #FnGetAtt, #FnIf, #FnImportValue, #FnJoin, #FnNot, #FnOr, #FnSelect, #FnSplit, #FnSub, #Ref
Methods included from RefCheck
#build_references, #ref_children
Constructor Details
#initialize(value) ⇒ RefDefinition
Returns a new instance of RefDefinition.
216 217 218 |
# File 'lib/cfndsl/jsonable.rb', line 216 def initialize(value) @Ref = value end |
Instance Method Details
#all_refs ⇒ Object
220 221 222 |
# File 'lib/cfndsl/jsonable.rb', line 220 def all_refs [@Ref] end |