| Modifier and Type | Method and Description |
|---|---|
CfnFilter.Builder |
action(String action)
Specifies the action that is to be applied to the findings that match the filter.
|
CfnFilter |
build() |
static CfnFilter.Builder |
create(Construct scope,
String id) |
CfnFilter.Builder |
description(String description)
The description of the filter.
|
CfnFilter.Builder |
detectorId(String detectorId)
The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
CfnFilter.Builder |
findingCriteria(CfnFilter.FindingCriteriaProperty findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
CfnFilter.Builder |
findingCriteria(IResolvable findingCriteria)
Represents the criteria to be used in the filter for querying findings.
|
CfnFilter.Builder |
name(String name)
The name of the filter.
|
CfnFilter.Builder |
rank(Number rank)
Specifies the position of the filter in the list of current filters.
|
CfnFilter.Builder |
tags(List<? extends CfnTag> tags)
The tags to be added to a new filter resource.
|
@Stability(value=Stable) public static CfnFilter.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.CfnFilter.ConditionProperty.Builder.@Stability(value=Stable) public CfnFilter.Builder action(String action)
action - Specifies the action that is to be applied to the findings that match the filter. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder description(String description)
description - The description of the filter. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder detectorId(String detectorId)
detectorId - The ID of the detector belonging to the GuardDuty account that you want to create a filter for. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder findingCriteria(IResolvable findingCriteria)
findingCriteria - Represents the criteria to be used in the filter for querying findings. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder findingCriteria(CfnFilter.FindingCriteriaProperty findingCriteria)
findingCriteria - Represents the criteria to be used in the filter for querying findings. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder name(String name)
Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
name - The name of the filter. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder rank(Number rank)
Also specifies the order in which this filter is applied to the findings.
By default, filters may not be created in the same order as they are ranked. To ensure filters are created in the correct order, you can use the optional
DependsOnattribute with the following syntax:"DependsOn":[ "ObjectName" ]. You can find more information on using this attribute here .
rank - Specifies the position of the filter in the list of current filters. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder tags(List<? extends CfnTag> tags)
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
tags - The tags to be added to a new filter resource. This parameter is required.thisCopyright © 2022. All rights reserved.