Interface CfnAllowListProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAllowListProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:19.386Z")
@Stability(Stable)
public interface CfnAllowListProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAllowList
.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAllowListProps
static final class
An implementation forCfnAllowListProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAllowListProps.Builder
builder()
The criteria that specify the text or text pattern to ignore.default String
A custom description of the allow list.getName()
A custom name for the allow list.getTags()
An array of key-value pairs to apply to the allow list.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCriteria
The criteria that specify the text or text pattern to ignore.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.- See Also:
-
getName
A custom name for the allow list.The name can contain 1-128 characters.
- See Also:
-
getDescription
A custom description of the allow list.The description can contain 1-512 characters.
- See Also:
-
getTags
An array of key-value pairs to apply to the allow list.For more information, see Resource tag .
- See Also:
-
builder
- Returns:
- a
CfnAllowListProps.Builder
ofCfnAllowListProps
-