class Object
Constants
- HAS_MAPPED_TAGS
rubocop:disable Metrics/LineLength
- HAS_PROPAGATABLE_TAGS
- PARAM_PROPS
Public Class Methods
new()
click to toggle source
# File lib/monkey-patches/cfndsl_patch.rb, line 16 def initialize return unless external_parameters&.fetch(:TagStandard) && external_parameters[:TagStandard].is_a?(Hash) # parameters for tagging standard external_parameters[:TagStandard].each do |param_name, props| logical_name = props['LogicalName'] || param_name Parameter(logical_name) do Type(props['Type']) PARAM_PROPS.each do |key| # puts key, props[key] send(key, props[key]) if props[key] end end end end