amazonka-s3-2.0: Amazon Simple Storage Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3.Types.ReplicationRule

Description

 
Synopsis

Documentation

data ReplicationRule Source #

Specifies which Amazon S3 objects to replicate and where to store the replicas.

See: newReplicationRule smart constructor.

Constructors

ReplicationRule' 

Fields

  • deleteMarkerReplication :: Maybe DeleteMarkerReplication
     
  • existingObjectReplication :: Maybe ExistingObjectReplication
     
  • filter' :: Maybe ReplicationRuleFilter
     
  • id :: Maybe Text

    A unique identifier for the rule. The maximum value is 255 characters.

  • prefix :: Maybe Text

    An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string.

    Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

  • priority :: Maybe Int

    The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority.

    For more information, see Replication in the Amazon S3 User Guide.

  • sourceSelectionCriteria :: Maybe 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 managed key stored in Amazon Web Services Key Management Service (SSE-KMS).

  • status :: ReplicationRuleStatus

    Specifies whether the rule is enabled.

  • destination :: Destination

    A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).

Instances

Instances details
FromXML ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

ToXML ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

Methods

toXML :: ReplicationRule -> XML #

Generic ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

Associated Types

type Rep ReplicationRule :: Type -> Type #

Read ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

Show ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

NFData ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

Methods

rnf :: ReplicationRule -> () #

Eq ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

Hashable ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

type Rep ReplicationRule Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRule

newReplicationRule Source #

Create a value of ReplicationRule 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:deleteMarkerReplication:ReplicationRule', replicationRule_deleteMarkerReplication - Undocumented member.

$sel:existingObjectReplication:ReplicationRule', replicationRule_existingObjectReplication -

$sel:filter':ReplicationRule', replicationRule_filter - Undocumented member.

$sel:id:ReplicationRule', replicationRule_id - A unique identifier for the rule. The maximum value is 255 characters.

ReplicationRule, replicationRule_prefix - An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

$sel:priority:ReplicationRule', replicationRule_priority - The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority.

For more information, see Replication in the Amazon S3 User Guide.

$sel:sourceSelectionCriteria:ReplicationRule', replicationRule_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 managed key stored in Amazon Web Services Key Management Service (SSE-KMS).

ReplicationRule, replicationRule_status - Specifies whether the rule is enabled.

$sel:destination:ReplicationRule', replicationRule_destination - A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).

replicationRule_id :: Lens' ReplicationRule (Maybe Text) Source #

A unique identifier for the rule. The maximum value is 255 characters.

replicationRule_prefix :: Lens' ReplicationRule (Maybe Text) Source #

An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

replicationRule_priority :: Lens' ReplicationRule (Maybe Int) Source #

The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority.

For more information, see Replication in the Amazon S3 User Guide.

replicationRule_sourceSelectionCriteria :: Lens' ReplicationRule (Maybe 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).

replicationRule_destination :: Lens' ReplicationRule Destination Source #

A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).