Interface CfnAllowList.ICriteriaProperty
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.
Namespace: Amazon.CDK.AWS.Macie
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICriteriaProperty
Syntax (vb)
Public Interface ICriteriaProperty
Remarks
The criteria can be:
The criteria must specify either an S3 object or a regular expression. It can't specify both.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Macie;
var criteriaProperty = new CriteriaProperty {
Regex = "regex",
S3WordsList = new S3WordsListProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
};
Synopsis
Properties
Regex | The regular expression ( regex ) that defines the text pattern to ignore. |
S3Words |
The location and name of an Amazon S3 object that lists specific text to ignore. |
Properties
Regex
The regular expression ( regex ) that defines the text pattern to ignore.
virtual string Regex { get; }
Property Value
System.
Remarks
The expression can contain 1-512 characters.
S3WordsList
The location and name of an Amazon S3 object that lists specific text to ignore.
virtual object S3WordsList { get; }
Property Value
System.