AWSS3ReplicationRule Class Reference
|Inherits from||AWSModel : AWSMTLModel|
A container for information about a specific replication rule.
Required parameters: [Status, Destination]
Specifies whether Amazon S3 should replicate delete makers.
@property (nonatomic, strong) AWSS3DeleteMarkerReplication *deleteMarkerReplication
A container for information about the replication destination.
@property (nonatomic, strong) AWSS3Destination *destination
A filter that identifies the subset of objects to which the replication rule applies. A
Filter must specify exactly one
Tag, or an
And child element.
@property (nonatomic, strong) AWSS3ReplicationRuleFilter *filter
A unique identifier for the rule. The maximum value is 255 characters.
@property (nonatomic, strong) NSString *identifier
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
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
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
If status isn't enabled, the rule is ignored.
@property (nonatomic, assign) AWSS3ReplicationRuleStatus status