IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface LifecycleRuleAndOperator

    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.

    interface LifecycleRuleAndOperator {
        Prefix?: string;
        Tags?: Tag[];
        ObjectSizeGreaterThan?: number;
        ObjectSizeLessThan?: number;
    }
    Index

    Properties

    Prefix?: string

    Prefix identifying one or more objects to which the rule applies.

    Tags?: Tag[]

    All of these tags must exist in the object's tag set in order for the rule to apply.

    ObjectSizeGreaterThan?: number

    Minimum object size to which the rule applies.

    ObjectSizeLessThan?: number

    Maximum object size to which the rule applies.