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

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

Overview

Note:

When making an API call, you may pass LifecycleRuleAndOperator data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

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

Returns:

  • (String)


6818
6819
6820
6821
6822
6823
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6818

class LifecycleRuleAndOperator < Struct.new(
  :prefix,
  :tags)
  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:



6818
6819
6820
6821
6822
6823
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6818

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