You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Macie2::Types::S3JobDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::Macie2::Types::S3JobDefinition
- Defined in:
- (unknown)
Overview
Note:
When passing S3JobDefinition as input to an Aws::Client method, you can use a vanilla Hash:
{
bucket_definitions: [
{
account_id: "__string",
buckets: ["__string"],
},
],
scoping: {
excludes: {
and: [
{
simple_scope_term: {
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"],
},
tag_scope_term: {
comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
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
key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
values: ["__string"],
},
tag_scope_term: {
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 which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis.
Returned by:
Instance Attribute Summary collapse
-
#bucket_definitions ⇒ Array<Types::S3BucketDefinitionForJob>
-
#scoping ⇒ Types::Scoping
Specifies one or more property- and tag-based conditions that refine the scope of a classification job.
Instance Attribute Details
#bucket_definitions ⇒ Array<Types::S3BucketDefinitionForJob>
#scoping ⇒ Types::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.