@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.688Z") @Stability(value=Stable) public interface CfnFilterProps 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;
CfnFilterProps cfnFilterProps = CfnFilterProps.builder()
.action("action")
.description("description")
.detectorId("detectorId")
.findingCriteria(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())
.name("name")
.rank(123)
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFilterProps.Builder
A builder for
CfnFilterProps |
static class |
CfnFilterProps.Jsii$Proxy
An implementation for
CfnFilterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFilterProps.Builder |
builder() |
String |
getAction()
Specifies the action that is to be applied to the findings that match the filter.
|
String |
getDescription()
The description of the filter.
|
String |
getDetectorId()
The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
|
Object |
getFindingCriteria()
Represents the criteria to be used in the filter for querying findings.
|
String |
getName()
The name of the filter.
|
Number |
getRank()
`AWS::GuardDuty::Filter.Rank`.
|
default List<CfnTag> |
getTags()
`AWS::GuardDuty::Filter.Tags`.
|
@Stability(value=Stable) @NotNull String getAction()
@Stability(value=Stable) @NotNull String getDescription()
@Stability(value=Stable) @NotNull String getDetectorId()
@Stability(value=Stable) @NotNull Object getFindingCriteria()
@Stability(value=Stable) @NotNull String getName()
Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.
@Stability(value=Stable) @NotNull Number getRank()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnFilterProps.Builder builder()
CfnFilterProps.Builder of CfnFilterPropsCopyright © 2022. All rights reserved.