Sha256: 00e9eab1d615e209b4289681e5f3a136b026c1c369aab29629fc1322060a028f
Contents?: true
Size: 667 Bytes
Versions: 100
Compression:
Stored size: 667 Bytes
Contents
require_relative '../resource' module Convection module Model class Template class Resource ## # AWS::Logs::LogGroup ## class LogGroup < Resource property :retention_in_days, 'RetentionInDays' def initialize(*args) super type 'AWS::Logs::LogGroup' end end end end end module DSL ## Add DSL method to template namespace module Template def logs_log_group(name, &block) r = Model::Template::Resource::LogGroup.new(name, self) r.instance_exec(&block) if block resources[name] = r end end end end
Version data entries
100 entries across 100 versions & 1 rubygems