Sha256: 901c741d9549d6f308db156de2252381a34cab272fe26fd4f4580a68ee86dec2

Contents?: true

Size: 690 Bytes

Versions: 59

Compression:

Stored size: 690 Bytes

Contents

require_relative '../resource_property'

module Convection
  module Model
    class Template
      class ResourceProperty
        # Represents an {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration.html}
        # Amazon S3 Replication Configuration
        class S3ReplicationConfiguration < ResourceProperty
          property :role, 'Role'
          property :rules, 'Rules', :type => :list

          def rule(&block)
            rule = ResourceProperty::S3ReplicationConfigurationRule.new(self)
            rule.instance_exec(&block) if block
            rules << rule
          end
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
convection-1.1.3 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.1.2 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.1.1 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.1.0 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.7 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.6 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.5 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.4 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.3 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.2 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.1 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.10 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.9 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.8 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.7 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.6 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.4 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-1.0.0.pre.beta.1 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb
convection-0.4.3 lib/convection/model/template/resource_property/aws_s3_replication_configuration.rb