Class: Aws::S3::Types::LifecycleRuleAndOperator

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

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

Instance Attribute Details

#object_size_greater_thanInteger

Minimum object size to which the rule applies.

Returns:

  • (Integer)


9191
9192
9193
9194
9195
9196
9197
9198
# File 'lib/aws-sdk-s3/types.rb', line 9191

class LifecycleRuleAndOperator < Struct.new(
  :prefix,
  :tags,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#object_size_less_thanInteger

Maximum object size to which the rule applies.

Returns:

  • (Integer)


9191
9192
9193
9194
9195
9196
9197
9198
# File 'lib/aws-sdk-s3/types.rb', line 9191

class LifecycleRuleAndOperator < Struct.new(
  :prefix,
  :tags,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

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

Returns:

  • (String)


9191
9192
9193
9194
9195
9196
9197
9198
# File 'lib/aws-sdk-s3/types.rb', line 9191

class LifecycleRuleAndOperator < Struct.new(
  :prefix,
  :tags,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



9191
9192
9193
9194
9195
9196
9197
9198
# File 'lib/aws-sdk-s3/types.rb', line 9191

class LifecycleRuleAndOperator < Struct.new(
  :prefix,
  :tags,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end