You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::Types::LifecycleRuleAndOperator
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::LifecycleRuleAndOperator
- Defined in:
- (unknown)
Overview
Note:
When passing LifecycleRuleAndOperator as input to an Aws::Client method, you can use a vanilla Hash:
{
prefix: "Prefix",
tags: [
{
key: "ObjectKey", # required
value: "Value", # required
},
],
}
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.
Returned by:
Instance Attribute Summary collapse
-
#prefix ⇒ String
Prefix identifying one or more objects to which the rule applies.
-
#tags ⇒ Array<Types::Tag>
All of these tags must exist in the object\'s tag set in order for the rule to apply.
Instance Attribute Details
#prefix ⇒ String
Prefix identifying one or more objects to which the rule applies.
#tags ⇒ Array<Types::Tag>
All of these tags must exist in the object\'s tag set in order for the rule to apply.