AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::InspectorV2::Filter

CfnFilter

Details about a filter.

Import

import { CfnFilter } from 'aws-cdk-lib/aws-inspectorv2';

Or use the module namespace:

import * as inspectorv2 from 'aws-cdk-lib/aws-inspectorv2';
// inspectorv2.CfnFilter

Properties

Configuration passed to the constructor as CfnFilterProps.

filterActionRequired
string

The action that is to be applied to the findings that match the filter.

filterCriteriaRequired
IResolvable | FilterCriteriaProperty

Details on the filter criteria associated with this filter.

nameRequired
string

The name of the filter.

descriptionOptional
string

A description of the filter.

tagsOptional
{ [key: string]: string }

The tags attached to the filter.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter