Class: Aws::S3Control::Types::LifecycleRuleFilter

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

Overview

The container for the filter of the lifecycle rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andTypes::LifecycleRuleAndOperator

The container for the ‘AND` condition for the lifecycle rule.



4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/aws-sdk-s3control/types.rb', line 4432

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

#object_size_greater_thanInteger

Minimum object size to which the rule applies.

Returns:

  • (Integer)


4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/aws-sdk-s3control/types.rb', line 4432

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :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)


4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/aws-sdk-s3control/types.rb', line 4432

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :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.

When you’re using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see [ XML-related object key constraints] in the *Amazon S3 User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints

Returns:

  • (String)


4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/aws-sdk-s3control/types.rb', line 4432

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

#tagTypes::S3Tag

A container for a key-value name pair.

Returns:



4432
4433
4434
4435
4436
4437
4438
4439
4440
# File 'lib/aws-sdk-s3control/types.rb', line 4432

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