Sha256: 434c3611b39a317a2c8f6c516cd4d438a0d3bd61b0332e99c8746d10d855285c

Contents?: true

Size: 345 Bytes

Versions: 6

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

require 'cfndsl/jsonable'

module CfnDsl
  # Handles Output objects
  class OutputDefinition < JSONable
    dsl_attr_setter :Value, :Description, :Condition

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cfndsl-0.17.5 lib/cfndsl/outputs.rb
cfndsl-0.17.4 lib/cfndsl/outputs.rb
cfndsl-0.17.3 lib/cfndsl/outputs.rb
cfndsl-0.17.2 lib/cfndsl/outputs.rb
cfndsl-0.17.1 lib/cfndsl/outputs.rb
cfndsl-0.17.0 lib/cfndsl/outputs.rb