amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.SimpleCriterionForJob

Description

 
Synopsis

Documentation

data SimpleCriterionForJob Source #

Specifies a property-based condition that determines whether an S3 bucket is included or excluded from a classification job.

See: newSimpleCriterionForJob smart constructor.

Constructors

SimpleCriterionForJob' 

Fields

  • comparator :: Maybe JobComparator

    The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).

  • key :: Maybe SimpleCriterionKeyForJob

    The property to use in the condition.

  • values :: Maybe [Text]

    An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

    • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.
    • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket.
    • S3_BUCKET_NAME - A string that represents the name of a bucket.
    • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket.

    Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.

Instances

Instances details
FromJSON SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

ToJSON SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

Generic SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

Associated Types

type Rep SimpleCriterionForJob :: Type -> Type #

Read SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

Show SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

NFData SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

Methods

rnf :: SimpleCriterionForJob -> () #

Eq SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

Hashable SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

type Rep SimpleCriterionForJob Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SimpleCriterionForJob

type Rep SimpleCriterionForJob = D1 ('MetaData "SimpleCriterionForJob" "Amazonka.MacieV2.Types.SimpleCriterionForJob" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "SimpleCriterionForJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobComparator)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimpleCriterionKeyForJob)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newSimpleCriterionForJob :: SimpleCriterionForJob Source #

Create a value of SimpleCriterionForJob 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:comparator:SimpleCriterionForJob', simpleCriterionForJob_comparator - The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).

$sel:key:SimpleCriterionForJob', simpleCriterionForJob_key - The property to use in the condition.

$sel:values:SimpleCriterionForJob', simpleCriterionForJob_values - An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

  • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.
  • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket.
  • S3_BUCKET_NAME - A string that represents the name of a bucket.
  • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket.

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.

simpleCriterionForJob_comparator :: Lens' SimpleCriterionForJob (Maybe JobComparator) Source #

The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).

simpleCriterionForJob_values :: Lens' SimpleCriterionForJob (Maybe [Text]) Source #

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

  • ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.
  • S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket.
  • S3_BUCKET_NAME - A string that represents the name of a bucket.
  • S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket.

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.