Class: CfnDsl::OutputDefinition

Inherits:
JSONable
  • Object
show all
Defined in:
lib/cfndsl/outputs.rb

Overview

Handles Output objects

Instance Method Summary collapse

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 = nil) ⇒ OutputDefinition

Returns a new instance of OutputDefinition.



12
13
14
# File 'lib/cfndsl/outputs.rb', line 12

def initialize(value = nil)
  @Value = value if value
end

Instance Method Details

#Export(value) ⇒ Object



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

def Export(value)
  @Export = { 'Name' => value } if value
end