Interface CfnFindingsFilterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFindingsFilterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-24T21:00:32.342Z")
@Stability(Stable)
public interface CfnFindingsFilterProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFindingsFilter
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.macie.*; CfnFindingsFilterProps cfnFindingsFilterProps = CfnFindingsFilterProps.builder() .findingCriteria(FindingCriteriaProperty.builder() .criterion(Map.of( "criterionKey", CriterionAdditionalPropertiesProperty.builder() .eq(List.of("eq")) .gt(123) .gte(123) .lt(123) .lte(123) .neq(List.of("neq")) .build())) .build()) .name("name") // the properties below are optional .action("action") .description("description") .position(123) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFindingsFilterProps
static final class
An implementation forCfnFindingsFilterProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The action to perform on findings that match the filter criteria (FindingCriteria
).default String
A custom description of the findings filter.The criteria to use to filter findings.getName()
A custom name for the findings filter.default Number
The position of the findings filter in the list of saved filter rules on the Amazon Macie console.getTags()
An array of key-value pairs to apply to the findings filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFindingCriteria
The criteria to use to filter findings.- See Also:
-
getName
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 .
- See Also:
-
getAction
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.
- See Also:
-
getDescription
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 .
- See Also:
-
getPosition
The position of the findings filter in the list of saved filter rules 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.
- See Also:
-
getTags
An array of key-value pairs to apply to the findings filter.For more information, see Resource tag .
- See Also:
-
builder
- Returns:
- a
CfnFindingsFilterProps.Builder
ofCfnFindingsFilterProps
-