Class: CfnDsl::ResourceDefinition
Instance Method Summary collapse
Methods inherited from JSONable
#declare, #ref_children, #to_json
Methods included from Functions
#FnBase64, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnJoin, #Ref
Methods included from RefCheck
Instance Method Details
#get_references ⇒ Object
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 |
# File 'lib/cfndsl.rb', line 320 def get_references() refs = [] if @DependsOn then if( @DependsOn.respond_to?(:each) ) then @DependsOn.each do |dep| refs.push dep end end if( @DependsOn.instance_of?(String) ) then refs.push @DependsOn end end refs end |