class CfnDsl::ParameterDefinition

Handles input parameter objects

Public Class Methods

new() click to toggle source
# File lib/cfndsl/parameters.rb, line 11
def initialize
  @Type = :String
end

Public Instance Methods

CommaDelimitedList() click to toggle source
# File lib/cfndsl/parameters.rb, line 23
def CommaDelimitedList
  @Type = :CommaDelimitedList
end
Number() click to toggle source
# File lib/cfndsl/parameters.rb, line 19
def Number
  @Type = :Number
end
String() click to toggle source
# File lib/cfndsl/parameters.rb, line 15
def String
  @Type = :String
end
to_hash() click to toggle source
# File lib/cfndsl/parameters.rb, line 27
def to_hash
  h = {}
  h[:Type] = @Type
  h[:Default] = @Default if @Default
end