Interface CfnAllowListProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAllowListProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.846Z") @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();
 
  • Method Details

    • getCriteria

      @Stability(Stable) @NotNull Object 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.

    • getName

      @Stability(Stable) @NotNull String getName()
      A custom name for the allow list.

      The name can contain 1-128 characters.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A custom description of the allow list.

      The description can contain 1-512 characters.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to the allow list.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnAllowListProps.Builder builder()
      Returns:
      a CfnAllowListProps.Builder of CfnAllowListProps