| 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(software.constructs.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)
`AWS::GuardDuty::Filter.Rank`.
|
CfnFilter.Builder |
tags(List<? extends CfnTag> tags)
`AWS::GuardDuty::Filter.Tags`.
|
@Stability(value=Stable) public static CfnFilter.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.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(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 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 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)
rank - `AWS::GuardDuty::Filter.Rank`. This parameter is required.this@Stability(value=Stable) public CfnFilter.Builder tags(List<? extends CfnTag> tags)
tags - `AWS::GuardDuty::Filter.Tags`. This parameter is required.thisCopyright © 2022. All rights reserved.