class ActiveAws::CloudFormation::Template::Parameter

Constants

FIELDS_MAP
TYPES
TYPES_MAP

Attributes

name[RW]
type[RW]

Public Instance Methods

to_h() click to toggle source
# File lib/active_aws/cloud_formation/template/parameter.rb, line 18
def to_h
  FIELDS_MAP.each_with_object('Type' => TYPES_MAP[type]) do |(method, key), h|
    if v = self.send(method)
      h[key] = v
    end
  end
end