Class: Aws::S3::Types::SourceSelectionCriteria

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

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
  },
}

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 AWS Key Management Service (SSE-KMS).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#replica_modificationsTypes::ReplicaModifications

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>


14168
14169
14170
14171
14172
14173
# File 'lib/aws-sdk-s3/types.rb', line 14168

class SourceSelectionCriteria < Struct.new(
  :sse_kms_encrypted_objects,
  :replica_modifications)
  SENSITIVE = []
  include Aws::Structure
end

#sse_kms_encrypted_objectsTypes::SseKmsEncryptedObjects

A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If you include ‘SourceSelectionCriteria` in the replication configuration, this element is required.



14168
14169
14170
14171
14172
14173
# File 'lib/aws-sdk-s3/types.rb', line 14168

class SourceSelectionCriteria < Struct.new(
  :sse_kms_encrypted_objects,
  :replica_modifications)
  SENSITIVE = []
  include Aws::Structure
end