AWSS3ReplicationRule

@interface AWSS3ReplicationRule

A container for information about a specific replication rule.

Required parameters: [Status, Destination]

  • Specifies whether Amazon S3 should replicate delete makers.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSS3DeleteMarkerReplication *_Nullable deleteMarkerReplication;

    Swift

    var deleteMarkerReplication: AWSS3DeleteMarkerReplication? { get set }
  • A container for information about the replication destination.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) AWSS3Destination *_Nullable destination;

    Swift

    var destination: AWSS3Destination? { get set }
  • A filter that identifies the subset of objects to which the replication rule applies. A Filter must specify exactly one Prefix, Tag, or an And child element.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSS3ReplicationRuleFilter *_Nullable filter;

    Swift

    var filter: AWSS3ReplicationRuleFilter? { get set }
  • A unique identifier for the rule. The maximum value is 255 characters.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable identifier;

    Swift

    var identifier: String? { get set }
  • An object keyname prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable prefix;

    Swift

    var prefix: String? { get set }
  • The priority associated with the rule. If you specify multiple rules in a replication configuration, Amazon S3 prioritizes the rules to prevent conflicts when filtering. If two or more rules identify the same object based on a specified filter, 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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable priority;

    Swift

    var priority: NSNumber? { get set }
  • 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 an AWS KMS-Managed Key (SSE-KMS).

    If you want Amazon S3 to replicate objects created with server-side encryption using AWS KMS-Managed Keys.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSS3SourceSelectionCriteria *_Nullable sourceSelectionCriteria;

    Swift

    var sourceSelectionCriteria: AWSS3SourceSelectionCriteria? { get set }
  • If status isn’t enabled, the rule is ignored.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSS3ReplicationRuleStatus status;

    Swift

    var status: AWSS3ReplicationRuleStatus { get set }