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

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

Overview

Note:

When making an API call, you may pass LifecycleRuleFilter data as a hash:

{
  prefix: "Prefix",
  tag: {
    key: "TagKeyString", # required
    value: "TagValueString", # required
  },
  and: {
    prefix: "Prefix",
    tags: [
      {
        key: "TagKeyString", # required
        value: "TagValueString", # required
      },
    ],
  },
}

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.



3695
3696
3697
3698
3699
3700
3701
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3695

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

#prefixString

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

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

Returns:

  • (String)


3695
3696
3697
3698
3699
3700
3701
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3695

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

#tagTypes::S3Tag

Returns:



3695
3696
3697
3698
3699
3700
3701
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3695

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