import { _ReplicationRuleFilter, _UnmarshalledReplicationRuleFilter } from "./_ReplicationRuleFilter"; import { _SourceSelectionCriteria, _UnmarshalledSourceSelectionCriteria } from "./_SourceSelectionCriteria"; import { _Destination, _UnmarshalledDestination } from "./_Destination"; import { _DeleteMarkerReplication, _UnmarshalledDeleteMarkerReplication } from "./_DeleteMarkerReplication"; /** *
Container for information about a particular replication rule.
*/ export interface _ReplicationRule { /** *Unique identifier for the rule. The value cannot be longer than 255 characters.
*/ ID?: string; /** *The priority associated with the rule. If you specify multiple rules in a replication configuration, then Amazon S3 applies rule priority in the event there are conflicts (two or more rules identify the same object based on filter specified). The rule with higher priority takes precedence. For example,
Same object quality prefix based filter criteria If prefixes you specified in multiple rules overlap.
Same object qualify tag based filter criteria specified in multiple rules
For more information, see Cross-Region Replication (CRR) in the Amazon S3 Developer Guide.
*/ Priority?: number; /** *Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 1,024 characters.
*/ Prefix?: string; /** *Filter that identifies subset of objects to which the replication rule applies. A Filter must specify exactly one Prefix, Tag, or an And child element.
The rule is ignored if status is not Enabled.
*/ Status: "Enabled" | "Disabled" | string; /** *Container that describes additional filters in identifying source objects that you want to replicate. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-managed key. You can choose to enable or disable replication of these objects.
if you want Amazon S3 to replicate objects created with server-side encryption using AWS KMS-managed keys.
*/ SourceSelectionCriteria?: _SourceSelectionCriteria; /** *Container for replication destination information.
*/ Destination: _Destination; /** *Specifies whether Amazon S3 should replicate delete makers.
*/ DeleteMarkerReplication?: _DeleteMarkerReplication; } export interface _UnmarshalledReplicationRule extends _ReplicationRule { /** *Filter that identifies subset of objects to which the replication rule applies. A Filter must specify exactly one Prefix, Tag, or an And child element.
Container that describes additional filters in identifying source objects that you want to replicate. Currently, Amazon S3 supports only the filter that you can specify for objects created with server-side encryption using an AWS KMS-managed key. You can choose to enable or disable replication of these objects.
if you want Amazon S3 to replicate objects created with server-side encryption using AWS KMS-managed keys.
*/ SourceSelectionCriteria?: _UnmarshalledSourceSelectionCriteria; /** *Container for replication destination information.
*/ Destination: _UnmarshalledDestination; /** *Specifies whether Amazon S3 should replicate delete makers.
*/ DeleteMarkerReplication?: _UnmarshalledDeleteMarkerReplication; }