Class CfnAllowList.Builder
java.lang.Object
software.amazon.awscdk.services.macie.CfnAllowList.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowList>
- Enclosing class:
- CfnAllowList
@Stability(Stable)
public static final class CfnAllowList.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowList>
A fluent builder for
CfnAllowList
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnAllowList.Builder
criteria
(IResolvable criteria) The criteria that specify the text or text pattern to ignore.criteria
(CfnAllowList.CriteriaProperty criteria) The criteria that specify the text or text pattern to ignore.description
(String description) A custom description of the allow list.A custom name for the allow list.An array of key-value pairs to apply to the allow list.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnAllowList.Builder
.
-
criteria
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.- Parameters:
criteria
- The criteria that specify the text or text pattern to ignore. This parameter is required.- Returns:
this
-
criteria
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.- Parameters:
criteria
- The criteria that specify the text or text pattern to ignore. This parameter is required.- Returns:
this
-
name
A custom name for the allow list.The name can contain 1-128 characters.
- Parameters:
name
- A custom name for the allow list. This parameter is required.- Returns:
this
-
description
A custom description of the allow list.The description can contain 1-512 characters.
- Parameters:
description
- A custom description of the allow list. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to the allow list.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to the allow list. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAllowList>
- Returns:
- a newly built instance of
CfnAllowList
.
-