You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::S3Control::Types::LifecycleRuleAndOperator

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LifecycleRuleAndOperator as input to an Aws::Client method, you can use a vanilla Hash:

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

The container for the Outposts bucket lifecycle rule and operator.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#prefixString

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

Returns:

  • (String)

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

#tagsArray<Types::S3Tag>

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

Returns:

  • (Array<Types::S3Tag>)

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