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

Class: Aws::Macie2::Types::SimpleScopeTerm

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

Overview

Note:

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

{
  comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
  key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
  values: ["__string"],
}

Specifies a property-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

The property to use in a condition that determines which objects are analyzed by a classification job. Valid values are:

Possible values:

  • BUCKET_CREATION_DATE
  • OBJECT_EXTENSION
  • OBJECT_LAST_MODIFIED_DATE
  • OBJECT_SIZE
  • TAG

Returns:

  • (String)

    The property to use in a condition that determines which objects are analyzed by a classification job.

#valuesArray<String>

Returns:

  • (Array<String>)