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

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.3.0 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.29 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.27 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.26 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.25 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.24 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.23 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.22 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.21 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.20 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.19 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.18 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.17 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.16 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.15 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.14 lib/convection/model/template/resource/aws_logs_loggroup.rb
convection-2.2.13 lib/convection/model/template/resource/aws_logs_loggroup.rb