@Stability(value=Stable)
public static interface CfnFilter.FindingCriteriaProperty
extends software.amazon.jsii.JsiiSerializable
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.guardduty.*;
Object criterion;
FindingCriteriaProperty findingCriteriaProperty = FindingCriteriaProperty.builder()
.criterion(criterion)
.itemType(ConditionProperty.builder()
.eq(List.of("eq"))
.equalTo(List.of("equalTo"))
.greaterThan(123)
.greaterThanOrEqual(123)
.gt(123)
.gte(123)
.lessThan(123)
.lessThanOrEqual(123)
.lt(123)
.lte(123)
.neq(List.of("neq"))
.notEquals(List.of("notEquals"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFilter.FindingCriteriaProperty.Builder
A builder for
CfnFilter.FindingCriteriaProperty |
static class |
CfnFilter.FindingCriteriaProperty.Jsii$Proxy
An implementation for
CfnFilter.FindingCriteriaProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFilter.FindingCriteriaProperty.Builder |
builder() |
default Object |
getCriterion()
Represents a map of finding properties that match specified conditions and values when querying findings.
|
default Object |
getItemType()
Specifies the condition to be applied to a single field when filtering through findings.
|
@Stability(value=Stable) @Nullable default Object getCriterion()
For a mapping of JSON criterion to their console equivalent see Finding criteria . The following are the available criterion:
When this attribute is set to TRUE, only archived findings are listed. When it's set to FALSE, only unarchived findings are listed. When this attribute is not set, all existing findings are listed.
Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds.
@Stability(value=Stable) @Nullable default Object getItemType()
@Stability(value=Stable) static CfnFilter.FindingCriteriaProperty.Builder builder()
Copyright © 2022. All rights reserved.