class CfnDsl::ResourceDefinition
Automatically apply resource tag standard to supported resources (if supplied)
Public Class Methods
new()
click to toggle source
# File lib/monkey-patches/cfndsl_patch.rb, line 75 def initialize apply_tag_standard end
Private Instance Methods
apply_tag_standard()
click to toggle source
# File lib/monkey-patches/cfndsl_patch.rb, line 81 def apply_tag_standard return unless defined? external_parameters[:TagStandard] return unless external_parameters[:TagStandard].is_a?(Hash) apply_tags(external_parameters[:TagStandard]) if defined? self.Tag apply_tags_map(external_parameters[:TagStandard]) if HAS_MAPPED_TAGS.include? self.class.to_s end