| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.LifecycleRuleAndOperator
Description
Synopsis
- data LifecycleRuleAndOperator = LifecycleRuleAndOperator' {}
- newLifecycleRuleAndOperator :: LifecycleRuleAndOperator
- lifecycleRuleAndOperator_objectSizeGreaterThan :: Lens' LifecycleRuleAndOperator (Maybe Integer)
- lifecycleRuleAndOperator_objectSizeLessThan :: Lens' LifecycleRuleAndOperator (Maybe Integer)
- lifecycleRuleAndOperator_prefix :: Lens' LifecycleRuleAndOperator (Maybe Text)
- lifecycleRuleAndOperator_tags :: Lens' LifecycleRuleAndOperator (Maybe [Tag])
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' | |
Fields
| |
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:objectSizeGreaterThan:LifecycleRuleAndOperator', lifecycleRuleAndOperator_objectSizeGreaterThan - Minimum object size to which the rule applies.
$sel:objectSizeLessThan:LifecycleRuleAndOperator', lifecycleRuleAndOperator_objectSizeLessThan - Maximum object size to which the rule applies.
$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_objectSizeGreaterThan :: Lens' LifecycleRuleAndOperator (Maybe Integer) Source #
Minimum object size to which the rule applies.
lifecycleRuleAndOperator_objectSizeLessThan :: Lens' LifecycleRuleAndOperator (Maybe Integer) Source #
Maximum object size to which the rule applies.
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.