Class: CfnDsl::MetadataDefinition

Inherits:
JSONable
  • Object
show all
Includes:
JSONSerialisableObject
Defined in:
lib/cfndsl/metadata.rb

Overview

Handles Metadata objects

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JSONSerialisableObject

#as_json, #to_json

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) ⇒ MetadataDefinition

Returns a new instance of MetadataDefinition.



10
11
12
# File 'lib/cfndsl/metadata.rb', line 10

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



8
9
10
# File 'lib/cfndsl/metadata.rb', line 8

def value
  @value
end