class CfnDsl::OutputDefinition

Handles Output objects

Public Class Methods

new(value = nil) click to toggle source
# File lib/cfndsl/outputs.rb, line 14
def initialize(value = nil)
  @Value = value if value
end

Public Instance Methods

Export(value) click to toggle source
# File lib/cfndsl/outputs.rb, line 10
def Export(value)
  @Export = { 'Name' => value } if value
end
condition_refs() click to toggle source
# File lib/cfndsl/outputs.rb, line 18
def condition_refs
  [@Condition].flatten.compact.map(&:to_s)
end