| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.S3.Types.LifecycleRuleAndOperator
Description
Documentation
data LifecycleRuleAndOperator Source #
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.
See: newLifecycleRuleAndOperator smart constructor.
Constructors
| LifecycleRuleAndOperator' | |
Instances
newLifecycleRuleAndOperator :: LifecycleRuleAndOperator Source #
Create a value of LifecycleRuleAndOperator with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prefix:LifecycleRuleAndOperator', lifecycleRuleAndOperator_prefix - Prefix identifying one or more objects to which the rule applies.
$sel:tags:LifecycleRuleAndOperator', lifecycleRuleAndOperator_tags - All of these tags must exist in the object's tag set in order for the
rule to apply.
lifecycleRuleAndOperator_prefix :: Lens' LifecycleRuleAndOperator (Maybe Text) Source #
Prefix identifying one or more objects to which the rule applies.
lifecycleRuleAndOperator_tags :: Lens' LifecycleRuleAndOperator (Maybe [Tag]) Source #
All of these tags must exist in the object's tag set in order for the rule to apply.