interface CriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Macie.Mixins.CfnAllowListPropsMixin.CriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmacie/mixins#CfnAllowListPropsMixin_CriteriaProperty |
Java | software.amazon.awscdk.mixins.preview.services.macie.mixins.CfnAllowListPropsMixin.CriteriaProperty |
Python | aws_cdk.mixins_preview.aws_macie.mixins.CfnAllowListPropsMixin.CriteriaProperty |
TypeScript | @aws-cdk/mixins-preview » aws_macie » mixins » CfnAllowListPropsMixin » CriteriaProperty |
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 { mixins as macie_mixins } from '@aws-cdk/mixins-preview/aws-macie';
const criteriaProperty: macie_mixins.CfnAllowListPropsMixin.CriteriaProperty = {
regex: 'regex',
s3WordsList: {
bucketName: 'bucketName',
objectKey: 'objectKey',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| regex? | string | The regular expression ( regex ) that defines the text pattern to ignore. |
| s3 | IResolvable | S3 | The location and name of an Amazon S3 object that lists specific text to ignore. |
regex?
Type:
string
(optional)
The regular expression ( regex ) that defines the text pattern to ignore.
The expression can contain 1-512 characters.
s3WordsList?
Type:
IResolvable | S3
(optional)
The location and name of an Amazon S3 object that lists specific text to ignore.

.NET
Go
Java
Python
TypeScript