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.AllowListCriteria

Description

 
Synopsis

Documentation

data AllowListCriteria Source #

Specifies the criteria for an allow list. The criteria must specify a regular expression (regex) or an S3 object (s3WordsList). It can't specify both.

See: newAllowListCriteria smart constructor.

Constructors

AllowListCriteria' 

Fields

  • regex :: Maybe Text

    The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.

  • s3WordsList :: Maybe S3WordsList

    The location and name of the S3 object that lists specific text to ignore.

Instances

Instances details
FromJSON AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

ToJSON AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

Generic AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

Associated Types

type Rep AllowListCriteria :: Type -> Type #

Read AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

Show AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

NFData AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

Methods

rnf :: AllowListCriteria -> () #

Eq AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

Hashable AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

type Rep AllowListCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.AllowListCriteria

type Rep AllowListCriteria = D1 ('MetaData "AllowListCriteria" "Amazonka.MacieV2.Types.AllowListCriteria" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "AllowListCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3WordsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3WordsList))))

newAllowListCriteria :: AllowListCriteria Source #

Create a value of AllowListCriteria 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:regex:AllowListCriteria', allowListCriteria_regex - The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.

$sel:s3WordsList:AllowListCriteria', allowListCriteria_s3WordsList - The location and name of the S3 object that lists specific text to ignore.

allowListCriteria_regex :: Lens' AllowListCriteria (Maybe Text) Source #

The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.

allowListCriteria_s3WordsList :: Lens' AllowListCriteria (Maybe S3WordsList) Source #

The location and name of the S3 object that lists specific text to ignore.