Class CfnFilter.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnFilter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFilter>
- Enclosing class:
CfnFilter
@Stability(Stable)
public static final class CfnFilter.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFilter>
A fluent builder for
CfnFilter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnFilter.Builderdescription(String description) A description of the filter.filterAction(String filterAction) The action that is to be applied to the findings that match the filter.filterCriteria(IResolvable filterCriteria) Details on the filter criteria associated with this filter.filterCriteria(CfnFilter.FilterCriteriaProperty filterCriteria) Details on the filter criteria associated with this filter.The name of the filter.
-
Method Details
-
create
@Stability(Stable) public static CfnFilter.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFilter.Builder.
-
filterAction
The action that is to be applied to the findings that match the filter.- Parameters:
filterAction- The action that is to be applied to the findings that match the filter. This parameter is required.- Returns:
this- See Also:
-
filterCriteria
Details on the filter criteria associated with this filter.- Parameters:
filterCriteria- Details on the filter criteria associated with this filter. This parameter is required.- Returns:
this- See Also:
-
filterCriteria
@Stability(Stable) public CfnFilter.Builder filterCriteria(CfnFilter.FilterCriteriaProperty filterCriteria) Details on the filter criteria associated with this filter.- Parameters:
filterCriteria- Details on the filter criteria associated with this filter. This parameter is required.- Returns:
this- See Also:
-
name
The name of the filter.- Parameters:
name- The name of the filter. This parameter is required.- Returns:
this- See Also:
-
description
A description of the filter.- Parameters:
description- A description of the filter. This parameter is required.- Returns:
this- See Also:
-
build
-