AWSS3ReplicationRule Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSS3Model.h
AWSS3Model.m

Overview

A container for information about a specific replication rule.

Required parameters: [Status, Destination]

  deleteMarkerReplication

Specifies whether Amazon S3 should replicate delete makers.

@property (nonatomic, strong) AWSS3DeleteMarkerReplication *deleteMarkerReplication

Declared In

AWSS3Model.h

  destination

A container for information about the replication destination.

@property (nonatomic, strong) AWSS3Destination *destination

Declared In

AWSS3Model.h

  filter

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.

@property (nonatomic, strong) AWSS3ReplicationRuleFilter *filter

Declared In

AWSS3Model.h

  identifier

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

@property (nonatomic, strong) NSString *identifier

Declared In

AWSS3Model.h

  prefix

An object keyname prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters.

@property (nonatomic, strong) NSString *prefix

Declared In

AWSS3Model.h

  priority

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.

@property (nonatomic, strong) NSNumber *priority

Declared In

AWSS3Model.h

  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 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.

@property (nonatomic, strong) AWSS3SourceSelectionCriteria *sourceSelectionCriteria

Declared In

AWSS3Model.h

  status

If status isn't enabled, the rule is ignored.

@property (nonatomic, assign) AWSS3ReplicationRuleStatus status

Declared In

AWSS3Model.h