libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.Types.S3JobDefinition

Description

 
Synopsis

Documentation

data S3JobDefinition Source #

Specifies which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis. The bucket specification can be static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the job analyzes objects in the same predefined set of buckets each time the job runs. If it's dynamic, the job analyzes objects in any buckets that match the specified criteria each time the job starts to run.

See: newS3JobDefinition smart constructor.

Constructors

S3JobDefinition' 

Fields

  • scoping :: Maybe Scoping

    The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.

  • bucketCriteria :: Maybe S3BucketCriteriaForJob

    The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.

  • bucketDefinitions :: Maybe [S3BucketDefinitionForJob]

    An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

Instances

Instances details
Eq S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

Read S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

Show S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

Generic S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

Associated Types

type Rep S3JobDefinition :: Type -> Type #

NFData S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

Methods

rnf :: S3JobDefinition -> () #

Hashable S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

ToJSON S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

FromJSON S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

type Rep S3JobDefinition Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3JobDefinition

type Rep S3JobDefinition = D1 ('MetaData "S3JobDefinition" "Amazonka.MacieV2.Types.S3JobDefinition" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "S3JobDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scoping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Scoping)) :*: (S1 ('MetaSel ('Just "bucketCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3BucketCriteriaForJob)) :*: S1 ('MetaSel ('Just "bucketDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [S3BucketDefinitionForJob])))))

newS3JobDefinition :: S3JobDefinition Source #

Create a value of S3JobDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:scoping:S3JobDefinition', s3JobDefinition_scoping - The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.

$sel:bucketCriteria:S3JobDefinition', s3JobDefinition_bucketCriteria - The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.

$sel:bucketDefinitions:S3JobDefinition', s3JobDefinition_bucketDefinitions - An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

s3JobDefinition_scoping :: Lens' S3JobDefinition (Maybe Scoping) Source #

The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.

s3JobDefinition_bucketCriteria :: Lens' S3JobDefinition (Maybe S3BucketCriteriaForJob) Source #

The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.

s3JobDefinition_bucketDefinitions :: Lens' S3JobDefinition (Maybe [S3BucketDefinitionForJob]) Source #

An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.