AWSS3LifecycleRuleAndOperator

Objective-C

@interface AWSS3LifecycleRuleAndOperator

Swift

class AWSS3LifecycleRuleAndOperator

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.

  • 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 }
  • All of these tags must exist in the object’s tag set in order for the rule to apply.

    Declaration

    Objective-C

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

    Swift

    var tags: [AWSS3Tag]? { get set }