Class CfnAllowList.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.
Inheritance
System.Object
CfnAllowList.CriteriaProperty
Implements
Namespace: Amazon.CDK.AWS.Macie
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CriteriaProperty : Object, CfnAllowList.ICriteriaProperty
Syntax (vb)
Public Class CriteriaProperty
Inherits Object
Implements CfnAllowList.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
Constructors
CriteriaProperty() |
Properties
Regex | The regular expression ( regex ) that defines the text pattern to ignore. |
S3WordsList | The location and name of an Amazon S3 object that lists specific text to ignore. |
Constructors
CriteriaProperty()
public CriteriaProperty()
Properties
Regex
The regular expression ( regex ) that defines the text pattern to ignore.
public string Regex { get; set; }
Property Value
System.String
Remarks
The expression can contain 1-512 characters.
S3WordsList
The location and name of an Amazon S3 object that lists specific text to ignore.
public object S3WordsList { get; set; }
Property Value
System.Object