Method: Jets::Resource::ChildStack::Shared#definition

Defined in:
lib/jets/resource/child_stack/shared.rb

#definitionObject



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/jets/resource/child_stack/shared.rb', line 13

def definition
  logical_id = shared_logical_id
  definition = {
    logical_id => {
      type: "AWS::CloudFormation::Stack",
      properties: child_properties
    }
  }
  definition[logical_id][:depends_on] = depends_on if depends_on
  definition
end