Sha256: 853794f0767996b65326268023ad7443f95b4d07e595cf71d221d17aabec279e

Contents?: true

Size: 854 Bytes

Versions: 59

Compression:

Stored size: 854 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-rules.html}
        # Amazon S3 Replication Configuration Rules
        class S3ReplicationConfigurationRule < ResourceProperty
          property :destination, 'Destination'
          property :id, 'Id'
          property :prefix, 'Prefix'
          property :status, 'Status'

          def destination(&block)
            destination_bucket = ResourceProperty::S3ReplicationConfigurationRuleDestination.new(self)
            destination_bucket.instance_exec(&block) if block
            properties['Destination'].set(destination_bucket)
          end
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

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