Class: Aws::Macie2::Types::CriteriaBlockForJob

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

Overview

Note:

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

{
  and: [
    {
      simple_criterion: {
        comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
        values: ["__string"],
      },
      tag_criterion: {
        comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        tag_values: [
          {
            key: "__string",
            value: "__string",
          },
        ],
      },
    },
  ],
}

Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 buckets from a classification job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andArray<Types::CriteriaForJob>

Returns:



1541
1542
1543
1544
1545
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 1541

class CriteriaBlockForJob < Struct.new(
  :and)
  SENSITIVE = []
  include Aws::Structure
end