Sha256: 14f499b3b416214723c8fb4fef43539bd924876c314f67b8c0ee38103fb2db23
Contents?: true
Size: 622 Bytes
Versions: 66
Compression:
Stored size: 622 Bytes
Contents
require 'cfndsl/jsonable' module CfnDsl # Handles input parameter objects class ParameterDefinition < JSONable dsl_attr_setter :Type, :Default, :NoEcho, :AllowedValues, :AllowedPattern, :MaxLength, :MinLength, :MaxValue, :MinValue, :Description, :ConstraintDescription def initialize @Type = :String end def String @Type = :String end def Number @Type = :Number end def CommaDelimitedList @Type = :CommaDelimitedList end def to_hash h = {} h[:Type] = @Type h[:Default] = @Default if @Default end end end
Version data entries
66 entries across 66 versions & 1 rubygems