AWS::Macie::AllowList Criteria - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::Macie::AllowList Criteria

Specifies the criteria for an allow list, which is a list that defines specific text or a text pattern to ignore when inspecting data sources for sensitive data. The criteria can be:

  • The location and name of an Amazon Simple Storage Service (Amazon S3) object that lists specific, predefined text to ignore (S3WordsList), or

  • A regular expression (Regex) that defines a text pattern to ignore.

The criteria must specify either an S3 object or a regular expression. It can't specify both.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Regex" : String, "S3WordsList" : S3WordsList }



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

Required: No

Type: String

Update requires: No interruption


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

Required: No

Type: S3WordsList

Update requires: No interruption