@Stability(value=Stable) public static final class CfnAllowList.Builder extends Object implements software.amazon.jsii.Builder<CfnAllowList>
CfnAllowList.| Modifier and Type | Method and Description |
|---|---|
CfnAllowList |
build() |
static CfnAllowList.Builder |
create(Construct scope,
String id) |
CfnAllowList.Builder |
criteria(CfnAllowList.CriteriaProperty criteria)
The criteria that specify the text or text pattern to ignore.
|
CfnAllowList.Builder |
criteria(IResolvable criteria)
The criteria that specify the text or text pattern to ignore.
|
CfnAllowList.Builder |
description(String description)
A custom description of the allow list.
|
CfnAllowList.Builder |
name(String name)
A custom name for the allow list.
|
CfnAllowList.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to the allow list.
|
@Stability(value=Stable) public static CfnAllowList.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAllowList.CriteriaProperty.Builder.@Stability(value=Stable) public CfnAllowList.Builder criteria(CfnAllowList.CriteriaProperty criteria)
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.
criteria - The criteria that specify the text or text pattern to ignore. This parameter is required.this@Stability(value=Stable) public CfnAllowList.Builder criteria(IResolvable criteria)
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.
criteria - The criteria that specify the text or text pattern to ignore. This parameter is required.this@Stability(value=Stable) public CfnAllowList.Builder name(String name)
The name can contain 1-128 characters.
name - A custom name for the allow list. This parameter is required.this@Stability(value=Stable) public CfnAllowList.Builder description(String description)
The description can contain 1-512 characters.
description - A custom description of the allow list. This parameter is required.this@Stability(value=Stable) public CfnAllowList.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to the allow list. This parameter is required.this@Stability(value=Stable) public CfnAllowList build()
build in interface software.amazon.jsii.Builder<CfnAllowList>Copyright © 2022. All rights reserved.