@Stability(value=Stable) public static final class CfnCustomDataIdentifier.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomDataIdentifier>
CfnCustomDataIdentifier.| Modifier and Type | Method and Description |
|---|---|
CfnCustomDataIdentifier |
build() |
static CfnCustomDataIdentifier.Builder |
create(software.constructs.Construct scope,
String id) |
CfnCustomDataIdentifier.Builder |
description(String description)
The description of the custom data identifier.
|
CfnCustomDataIdentifier.Builder |
ignoreWords(List<String> ignoreWords)
An array that lists specific character sequences (ignore words) to exclude from the results.
|
CfnCustomDataIdentifier.Builder |
keywords(List<String> keywords)
An array that lists specific character sequences (keywords), one of which must be within proximity ( `MaximumMatchDistance` ) of the regular expression to match.
|
CfnCustomDataIdentifier.Builder |
maximumMatchDistance(Number maximumMatchDistance)
The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the `Keywords` array.
|
CfnCustomDataIdentifier.Builder |
name(String name)
A custom name for the custom data identifier.
|
CfnCustomDataIdentifier.Builder |
regex(String regex)
The regular expression ( *regex* ) that defines the pattern to match.
|
@Stability(value=Stable) public static CfnCustomDataIdentifier.Builder create(software.constructs.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.CfnCustomDataIdentifier.Builder.@Stability(value=Stable) public CfnCustomDataIdentifier.Builder name(String name)
We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie .
name - A custom name for the custom data identifier. The name can contain as many as 128 characters. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier.Builder regex(String regex)
The expression can contain as many as 512 characters.
regex - The regular expression ( *regex* ) that defines the pattern to match. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier.Builder description(String description)
The description can contain as many as 512 characters.
description - The description of the custom data identifier. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier.Builder ignoreWords(List<String> ignoreWords)
If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.
ignoreWords - An array that lists specific character sequences (ignore words) to exclude from the results. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier.Builder keywords(List<String> keywords)
The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.
keywords - An array that lists specific character sequences (keywords), one of which must be within proximity ( `MaximumMatchDistance` ) of the regular expression to match. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier.Builder maximumMatchDistance(Number maximumMatchDistance)
Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.
maximumMatchDistance - The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the `Keywords` array. This parameter is required.this@Stability(value=Stable) public CfnCustomDataIdentifier build()
build in interface software.amazon.jsii.Builder<CfnCustomDataIdentifier>Copyright © 2022. All rights reserved.