libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.SourceSelectionCriteria

Description

 
Synopsis

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.

Constructors

SourceSelectionCriteria' 

Fields

  • replicaModifications :: Maybe 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

  • sseKmsEncryptedObjects :: Maybe 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.

Instances

Instances details
Eq SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

Read SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

Show SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

Generic SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

Associated Types

type Rep SourceSelectionCriteria :: Type -> Type #

NFData SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

Methods

rnf :: SourceSelectionCriteria -> () #

Hashable SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

FromXML SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

ToXML SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

type Rep SourceSelectionCriteria Source # 
Instance details

Defined in Amazonka.S3.Types.SourceSelectionCriteria

type Rep SourceSelectionCriteria = D1 ('MetaData "SourceSelectionCriteria" "Amazonka.S3.Types.SourceSelectionCriteria" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "SourceSelectionCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicaModifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicaModifications)) :*: S1 ('MetaSel ('Just "sseKmsEncryptedObjects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SseKmsEncryptedObjects))))

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.