class Aws::S3::Types::SourceSelectionCriteria

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using a customer master key (CMK) stored in Amazon Web Services Key Management Service (SSE-KMS).

@note When making an API call, you may pass SourceSelectionCriteria

data as a hash:

    {
      sse_kms_encrypted_objects: {
        status: "Enabled", # required, accepts Enabled, Disabled
      },
      replica_modifications: {
        status: "Enabled", # required, accepts Enabled, Disabled
      },
    }

@!attribute [rw] sse_kms_encrypted_objects

A container for filter information for the selection of Amazon S3
objects encrypted with Amazon Web Services KMS. If you include
`SourceSelectionCriteria` in the replication configuration, this
element is required.
@return [Types::SseKmsEncryptedObjects]

@!attribute [rw] replica_modifications

A filter that you can specify for selections for modifications on
replicas. Amazon S3 doesn't replicate replica modifications by
default. In the latest version of replication configuration (when
`Filter` is specified), you can specify this element and set the
status to `Enabled` to replicate modifications on replicas.

<note markdown="1"> If you don't specify the `Filter` element, Amazon S3 assumes that
the replication configuration is the earlier version, V1. In the
earlier version, this element is not allowed

 </note>
@return [Types::ReplicaModifications]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria AWS API Documentation

Constants

SENSITIVE