AWSS3LifecycleRuleFilter

Objective-C

@interface AWSS3LifecycleRuleFilter

Swift

class AWSS3LifecycleRuleFilter

The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix, Tag, or And specified.

  • AND

    This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3LifecycleRuleAndOperator *_Nullable AND;

    Swift

    var and: AWSS3LifecycleRuleAndOperator? { get set }
  • Prefix identifying one or more objects to which the rule applies.

    Declaration

    Objective-C

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

    Swift

    var prefix: String? { get set }
  • tag

    This tag must exist in the object’s tag set in order for the rule to apply.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSS3Tag *_Nullable tag;

    Swift

    var tag: AWSS3Tag? { get set }