AWSS3ReplicationRuleAndOperator

Objective-C

@interface AWSS3ReplicationRuleAndOperator

Swift

class AWSS3ReplicationRuleAndOperator

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.

For example:

  • If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.

  • If you specify a filter based on multiple tags, wrap the Tag elements in an And tag

  • An object key name prefix that identifies the subset of objects to which the rule applies.

    Declaration

    Objective-C

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

    Swift

    var prefix: String? { get set }
  • An array of tags containing key and value pairs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSS3Tag *> *_Nullable tags;

    Swift

    var tags: [AWSS3Tag]? { get set }