Interface CfnFilterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFilterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.479Z")
@Stability(Stable)
public interface CfnFilterProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFilter
.
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.inspectorv2.*; CfnFilterProps cfnFilterProps = CfnFilterProps.builder() .filterAction("filterAction") .filterCriteria(FilterCriteriaProperty.builder() .awsAccountId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .componentId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .componentType(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ec2InstanceImageId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ec2InstanceSubnetId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ec2InstanceVpcId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ecrImageArchitecture(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ecrImageHash(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ecrImagePushedAt(List.of(DateFilterProperty.builder() .endInclusive(123) .startInclusive(123) .build())) .ecrImageRegistry(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ecrImageRepositoryName(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .ecrImageTags(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .findingArn(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .findingStatus(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .findingType(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .firstObservedAt(List.of(DateFilterProperty.builder() .endInclusive(123) .startInclusive(123) .build())) .inspectorScore(List.of(NumberFilterProperty.builder() .lowerInclusive(123) .upperInclusive(123) .build())) .lastObservedAt(List.of(DateFilterProperty.builder() .endInclusive(123) .startInclusive(123) .build())) .networkProtocol(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .portRange(List.of(PortRangeFilterProperty.builder() .beginInclusive(123) .endInclusive(123) .build())) .relatedVulnerabilities(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .resourceId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .resourceTags(List.of(MapFilterProperty.builder() .comparison("comparison") // the properties below are optional .key("key") .value("value") .build())) .resourceType(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .severity(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .title(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .updatedAt(List.of(DateFilterProperty.builder() .endInclusive(123) .startInclusive(123) .build())) .vendorSeverity(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .vulnerabilityId(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .vulnerabilitySource(List.of(StringFilterProperty.builder() .comparison("comparison") .value("value") .build())) .vulnerablePackages(List.of(PackageFilterProperty.builder() .architecture(StringFilterProperty.builder() .comparison("comparison") .value("value") .build()) .epoch(NumberFilterProperty.builder() .lowerInclusive(123) .upperInclusive(123) .build()) .name(StringFilterProperty.builder() .comparison("comparison") .value("value") .build()) .release(StringFilterProperty.builder() .comparison("comparison") .value("value") .build()) .sourceLayerHash(StringFilterProperty.builder() .comparison("comparison") .value("value") .build()) .version(StringFilterProperty.builder() .comparison("comparison") .value("value") .build()) .build())) .build()) .name("name") // the properties below are optional .description("description") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFilterProps
static final class
An implementation forCfnFilterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFilterProps.Builder
builder()
default String
A description of the filter.The action that is to be applied to the findings that match the filter.Details on the filter criteria associated with this filter.getName()
The name of the filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilterAction
The action that is to be applied to the findings that match the filter. -
getFilterCriteria
Details on the filter criteria associated with this filter. -
getName
The name of the filter. -
getDescription
A description of the filter. -
builder
- Returns:
- a
CfnFilterProps.Builder
ofCfnFilterProps
-