Class CfnAllowListPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.macie.CfnAllowListPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAllowListPropsMixin>
- Enclosing class:
CfnAllowListPropsMixin
@Stability(Stable)
public static final class CfnAllowListPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAllowListPropsMixin>
A fluent builder for
CfnAllowListPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The criteria that specify the text or text pattern to ignore.criteria(IResolvable 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
@Stability(Stable) public static CfnAllowListPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAllowListPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAllowListPropsMixin.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- See Also:
-
criteria
@Stability(Stable) public CfnAllowListPropsMixin.Builder criteria(CfnAllowListPropsMixin.CriteriaProperty 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- See Also:
-
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- See Also:
-
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- See Also:
-
tags
An array of key-value pairs to apply to the allow list.For more information, see Resource tag .
- Parameters:
tags- An array of key-value pairs to apply to the allow list. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAllowListPropsMixin>- Returns:
- a newly built instance of
CfnAllowListPropsMixin.
-