Class 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.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Macie.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAllowListPropsMixin.CriteriaProperty : CfnAllowListPropsMixin.ICriteriaProperty
Syntax (vb)
Public Class CfnAllowListPropsMixin.CriteriaProperty Implements CfnAllowListPropsMixin.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.Mixins.Preview.AWS.Macie.Mixins;
var criteriaProperty = new CriteriaProperty {
Regex = "regex",
S3WordsList = new S3WordsListProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
};
Synopsis
Constructors
| 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. |
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()
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.
public CriteriaProperty()
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.Mixins.Preview.AWS.Macie.Mixins;
var criteriaProperty = new CriteriaProperty {
Regex = "regex",
S3WordsList = new S3WordsListProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
};
Properties
Regex
The regular expression ( regex ) that defines the text pattern to ignore.
public string? Regex { get; set; }
Property Value
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; }