Class: Aws::S3::Types::LifecycleRuleAndOperator
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::LifecycleRuleAndOperator
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
When making an API call, you may pass LifecycleRuleAndOperator data as a hash:
{
prefix: "Prefix",
tags: [
{
key: "ObjectKey", # required
value: "Value", # required
},
],
object_size_greater_than: 1,
object_size_less_than: 1,
}
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#object_size_greater_than ⇒ Integer
Minimum object size to which the rule applies.
-
#object_size_less_than ⇒ Integer
Maximum object size to which the rule applies.
-
#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
#object_size_greater_than ⇒ Integer
Minimum object size to which the rule applies.
8416 8417 8418 8419 8420 8421 8422 8423 |
# File 'lib/aws-sdk-s3/types.rb', line 8416 class LifecycleRuleAndOperator < Struct.new( :prefix, :tags, :object_size_greater_than, :object_size_less_than) SENSITIVE = [] include Aws::Structure end |
#object_size_less_than ⇒ Integer
Maximum object size to which the rule applies.
8416 8417 8418 8419 8420 8421 8422 8423 |
# File 'lib/aws-sdk-s3/types.rb', line 8416 class LifecycleRuleAndOperator < Struct.new( :prefix, :tags, :object_size_greater_than, :object_size_less_than) SENSITIVE = [] include Aws::Structure end |
#prefix ⇒ String
Prefix identifying one or more objects to which the rule applies.
8416 8417 8418 8419 8420 8421 8422 8423 |
# File 'lib/aws-sdk-s3/types.rb', line 8416 class LifecycleRuleAndOperator < Struct.new( :prefix, :tags, :object_size_greater_than, :object_size_less_than) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
All of these tags must exist in the object’s tag set in order for the rule to apply.
8416 8417 8418 8419 8420 8421 8422 8423 |
# File 'lib/aws-sdk-s3/types.rb', line 8416 class LifecycleRuleAndOperator < Struct.new( :prefix, :tags, :object_size_greater_than, :object_size_less_than) SENSITIVE = [] include Aws::Structure end |