AWSS3ReplicationRule Class Reference

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

Overview

Container for information about a particular 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

Container for replication destination information.

@property (nonatomic, strong) AWSS3Destination *destination

Declared In

AWSS3Model.h

  filter

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.

@property (nonatomic, strong) AWSS3ReplicationRuleFilter *filter

Declared In

AWSS3Model.h

  identifier

Unique identifier for the rule. The value cannot be longer than 255 characters.

@property (nonatomic, strong) NSString *identifier

Declared In

AWSS3Model.h

  prefix

Object keyname prefix identifying one or more objects to which the rule applies. Maximum prefix length can be up to 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, 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.

@property (nonatomic, strong) NSNumber *priority

Declared In

AWSS3Model.h

  sourceSelectionCriteria

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.

@property (nonatomic, strong) AWSS3SourceSelectionCriteria *sourceSelectionCriteria

Declared In

AWSS3Model.h

  status

The rule is ignored if status is not Enabled.

@property (nonatomic, assign) AWSS3ReplicationRuleStatus status

Declared In

AWSS3Model.h