Sha256: b306b4b08839f459d8e24538dea4175d4c5e411d4d3e859e34873a38c8dcd3be

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

require 'cfndsl/jsonable'

module CfnDsl
  # Handles property objects for Resources
  #
  # Usage
  #   Resource("aaa") {
  #     Property("propName", "propValue" )
  #   }
  #
  class PropertyDefinition < JSONable
    attr_reader :value
    def initialize(value)
      @value = value
    end

    def to_json(*a)
      @value.to_json(*a)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cfndsl-0.7.0 lib/cfndsl/properties.rb
cfndsl-0.6.2 lib/cfndsl/properties.rb
cfndsl-0.6.1 lib/cfndsl/properties.rb
cfndsl-0.6.0 lib/cfndsl/properties.rb
cfndsl-0.5.2 lib/cfndsl/properties.rb
cfndsl-0.5.1 lib/cfndsl/properties.rb
cfndsl-0.5.0 lib/cfndsl/properties.rb
cfndsl-0.5.1.pre lib/cfndsl/properties.rb
cfndsl-0.5.0.pre lib/cfndsl/properties.rb