@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:36.937Z") @Stability(value=Stable) public interface CfnAllowListProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnAllowListProps cfnAllowListProps = CfnAllowListProps.builder()
.criteria(CriteriaProperty.builder()
.regex("regex")
.s3WordsList(S3WordsListProperty.builder()
.bucketName("bucketName")
.objectKey("objectKey")
.build())
.build())
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAllowListProps.Builder
A builder for
CfnAllowListProps |
static class |
CfnAllowListProps.Jsii$Proxy
An implementation for
CfnAllowListProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAllowListProps.Builder |
builder() |
Object |
getCriteria()
The criteria that specify the text or text pattern to ignore.
|
default String |
getDescription()
A custom description of the allow list.
|
String |
getName()
A custom name for the allow list.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to the allow list.
|
@Stability(value=Stable) @NotNull Object getCriteria()
The criteria can be the location and name of an Amazon S3 object that lists specific text to ignore ( S3WordsList ), or a regular expression ( Regex ) that defines a text pattern to ignore.
@Stability(value=Stable) @NotNull String getName()
The name can contain 1-128 characters.
@Stability(value=Stable) @Nullable default String getDescription()
The description can contain 1-512 characters.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnAllowListProps.Builder builder()
CfnAllowListProps.Builder of CfnAllowListPropsCopyright © 2022. All rights reserved.