Class: Aws::Macie2::Types::Scoping

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 Scoping data as a hash:

{
  excludes: {
    and: [
      {
        simple_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
          key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
          values: ["__string"],
        },
        tag_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
          key: "__string",
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
          target: "S3_OBJECT", # accepts S3_OBJECT
        },
      },
    ],
  },
  includes: {
    and: [
      {
        simple_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
          key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
          values: ["__string"],
        },
        tag_scope_term: {
          comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
          key: "__string",
          tag_values: [
            {
              key: "__string",
              value: "__string",
            },
          ],
          target: "S3_OBJECT", # accepts S3_OBJECT
        },
      },
    ],
  },
}

Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects from a classification job. Exclude conditions take precedence over include conditions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#excludesTypes::JobScopingBlock

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



5346
5347
5348
5349
5350
5351
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 5346

class Scoping < Struct.new(
  :excludes,
  :includes)
  SENSITIVE = []
  include Aws::Structure
end

#includesTypes::JobScopingBlock

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



5346
5347
5348
5349
5350
5351
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 5346

class Scoping < Struct.new(
  :excludes,
  :includes)
  SENSITIVE = []
  include Aws::Structure
end