Class CfnFindingsFilter.Builder
java.lang.Object
software.amazon.awscdk.services.macie.CfnFindingsFilter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFindingsFilter>
- Enclosing class:
CfnFindingsFilter
@Stability(Stable)
public static final class CfnFindingsFilter.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFindingsFilter>
A fluent builder for
CfnFindingsFilter
.-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform on findings that match the filter criteria (FindingCriteria
).build()
static CfnFindingsFilter.Builder
description
(String description) A custom description of the findings filter.findingCriteria
(IResolvable findingCriteria) The criteria to use to filter findings.findingCriteria
(CfnFindingsFilter.FindingCriteriaProperty findingCriteria) The criteria to use to filter findings.A custom name for the findings filter.The position of the findings filter in the list of saved filters on the Amazon Macie console.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFindingsFilter.Builder
.
-
findingCriteria
The criteria to use to filter findings.- Parameters:
findingCriteria
- The criteria to use to filter findings. This parameter is required.- Returns:
this
-
findingCriteria
@Stability(Stable) public CfnFindingsFilter.Builder findingCriteria(CfnFindingsFilter.FindingCriteriaProperty findingCriteria) The criteria to use to filter findings.- Parameters:
findingCriteria
- The criteria to use to filter findings. This parameter is required.- Returns:
this
-
name
A custom name for the findings filter. The name can contain 3-64 characters.Avoid including sensitive data in the name. Users of the account might be able to see the name, depending on the actions that they're allowed to perform in Amazon Macie .
- Parameters:
name
- A custom name for the findings filter. The name can contain 3-64 characters. This parameter is required.- Returns:
this
-
action
The action to perform on findings that match the filter criteria (FindingCriteria
). Valid values are:.ARCHIVE
- Suppress (automatically archive) the findings.NOOP
- Don't perform any action on the findings.
- Parameters:
action
- The action to perform on findings that match the filter criteria (FindingCriteria
). Valid values are:. This parameter is required.- Returns:
this
-
description
A custom description of the findings filter. The description can contain 1-512 characters.Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they're allowed to perform in Amazon Macie .
- Parameters:
description
- A custom description of the findings filter. The description can contain 1-512 characters. This parameter is required.- Returns:
this
-
position
The position of the findings filter in the list of saved filters on the Amazon Macie console.This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to findings.
- Parameters:
position
- The position of the findings filter in the list of saved filters on the Amazon Macie console. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFindingsFilter>
- Returns:
- a newly built instance of
CfnFindingsFilter
.
-