Sha256: 0885a263aed4f16a3f75a8bc14b55be64603488138ac7f84d2e602addc1cd201

Contents?: true

Size: 649 Bytes

Versions: 70

Compression:

Stored size: 649 Bytes

Contents

require_relative '../resource_property'

module Convection
  module Model
    class Template
      class ResourceProperty
        # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors.html
        # Amazon S3 Cors Configuration}
        class S3CorsConfiguration < ResourceProperty
          property :cors_rules, 'CorsRules', :type => :list

          def cors_rule(&block)
            cors_rule = ResourceProperty::S3CorsConfigurationRule.new(self)
            cors_rule.instance_exec(&block) if block
            cors_rules << cors_rule
          end
        end
      end
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

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