Show / Hide Table of Contents

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 CfnAllowList.ICriteriaProperty
Syntax (vb)
Public Interface CfnAllowList.ICriteriaProperty
Remarks

The criteria can be:

    The criteria must specify either an S3 object or a regular expression. It can't specify both.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-allowlist-criteria.html

    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.

    S3WordsList

    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.

    string? Regex { get; }
    Property Value

    string

    Remarks

    The expression can contain 1-512 characters.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-allowlist-criteria.html#cfn-macie-allowlist-criteria-regex

    S3WordsList

    The location and name of an Amazon S3 object that lists specific text to ignore.

    object? S3WordsList { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-allowlist-criteria.html#cfn-macie-allowlist-criteria-s3wordslist

    Type union: either IResolvable or CfnAllowList.IS3WordsListProperty

    Back to top Generated by DocFX