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, #FnCidr, #FnEquals, #FnFindInMap, #FnFormat, #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.
239 240 241 |
# File 'lib/cfndsl/jsonable.rb', line 239 def initialize(value) @Ref = value end |
Instance Method Details
#all_refs ⇒ Object
243 244 245 |
# File 'lib/cfndsl/jsonable.rb', line 243 def all_refs [@Ref] end |