@Stability(value=Stable)
public static interface CfnAllowList.CriteriaProperty
extends software.amazon.jsii.JsiiSerializable
The criteria can be:
S3WordsList ), orRegex ) 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 software.amazon.awscdk.services.macie.*;
CriteriaProperty criteriaProperty = CriteriaProperty.builder()
.regex("regex")
.s3WordsList(S3WordsListProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAllowList.CriteriaProperty.Builder
A builder for
CfnAllowList.CriteriaProperty |
static class |
CfnAllowList.CriteriaProperty.Jsii$Proxy
An implementation for
CfnAllowList.CriteriaProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAllowList.CriteriaProperty.Builder |
builder() |
default String |
getRegex()
The regular expression ( *regex* ) that defines the text pattern to ignore.
|
default Object |
getS3WordsList()
The location and name of an Amazon S3 object that lists specific text to ignore.
|
@Stability(value=Stable) @Nullable default String getRegex()
The expression can contain 1-512 characters.
@Stability(value=Stable) @Nullable default Object getS3WordsList()
@Stability(value=Stable) static CfnAllowList.CriteriaProperty.Builder builder()
Copyright © 2022. All rights reserved.