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

Class: Aws::Macie2::Types::TagScopeTerm

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

Overview

Note:

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

{
  comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
  key: "__string",
  tag_values: [
    {
      key: "__string",
      value: "__string",
    },
  ],
  target: "S3_OBJECT", # accepts S3_OBJECT
}

Specifies a tag-based condition that determines whether an object is included or excluded from a classification job.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#comparatorString

The operator to use in a condition. Valid values are:

Possible values:

  • EQ
  • GT
  • GTE
  • LT
  • LTE
  • NE
  • CONTAINS

Returns:

  • (String)

    The operator to use in a condition.

#keyString

Returns:

  • (String)

#tag_valuesArray<Types::TagValuePair>

Returns:

#targetString

The type of object to apply a tag-based condition to. Valid values are:

Possible values:

  • S3_OBJECT

Returns:

  • (String)

    The type of object to apply a tag-based condition to.