Class: Aws::Macie2::Types::S3JobDefinition

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

{
  bucket_definitions: [
    {
      account_id: "__string", # required
      buckets: ["__string"], # required
    },
  ],
  scoping: {
    excludes: {
      and: [
        {
          simple_scope_term: {
            comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
            key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, 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: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, 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 which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_definitionsArray<Types::S3BucketDefinitionForJob>



4508
4509
4510
4511
4512
4513
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4508

class S3JobDefinition < Struct.new(
  :bucket_definitions,
  :scoping)
  SENSITIVE = []
  include Aws::Structure
end

#scopingTypes::Scoping

Specifies one or more property- and tag-based conditions that refine the scope of a classification job. These conditions define criteria that determine which objects a job analyzes. Exclude conditions take precedence over include conditions.

Returns:



4508
4509
4510
4511
4512
4513
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4508

class S3JobDefinition < Struct.new(
  :bucket_definitions,
  :scoping)
  SENSITIVE = []
  include Aws::Structure
end