Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SourceSelectionCriteria = SourceSelectionCriteria' {}
- newSourceSelectionCriteria :: SourceSelectionCriteria
- sourceSelectionCriteria_replicaModifications :: Lens' SourceSelectionCriteria (Maybe ReplicaModifications)
- sourceSelectionCriteria_sseKmsEncryptedObjects :: Lens' SourceSelectionCriteria (Maybe SseKmsEncryptedObjects)
Documentation
data SourceSelectionCriteria Source #
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 managed key stored in Amazon Web Services Key Management Service (SSE-KMS).
See: newSourceSelectionCriteria
smart constructor.
SourceSelectionCriteria' | |
|
Instances
newSourceSelectionCriteria :: SourceSelectionCriteria Source #
Create a value of SourceSelectionCriteria
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replicaModifications:SourceSelectionCriteria'
, sourceSelectionCriteria_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.
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
$sel:sseKmsEncryptedObjects:SourceSelectionCriteria'
, sourceSelectionCriteria_sseKmsEncryptedObjects
- 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.
sourceSelectionCriteria_replicaModifications :: Lens' SourceSelectionCriteria (Maybe ReplicaModifications) Source #
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.
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
sourceSelectionCriteria_sseKmsEncryptedObjects :: Lens' SourceSelectionCriteria (Maybe SseKmsEncryptedObjects) Source #
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.