Interface CfnAllowList.CriteriaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAllowList.CriteriaProperty.Jsii$Proxy
Enclosing class:
CfnAllowList

@Stability(Stable) public static interface CfnAllowList.CriteriaProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.macie.*;
 CriteriaProperty criteriaProperty = CriteriaProperty.builder()
         .regex("regex")
         .s3WordsList(S3WordsListProperty.builder()
                 .bucketName("bucketName")
                 .objectKey("objectKey")
                 .build())
         .build();
 

See Also: