aws-cdk-lib.aws_accessanalyzer.CfnAnalyzer.FilterProperty

interface FilterProperty

LanguageType name
.NETAmazon.CDK.AWS.AccessAnalyzer.CfnAnalyzer.FilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsaccessanalyzer#CfnAnalyzer_FilterProperty
Javasoftware.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.FilterProperty
Pythonaws_cdk.aws_accessanalyzer.CfnAnalyzer.FilterProperty
TypeScript aws-cdk-lib » aws_accessanalyzer » CfnAnalyzer » FilterProperty

The criteria that defines the rule.

To learn about filter keys that you can use to create an archive rule, see filter keys in the User Guide .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_accessanalyzer as accessanalyzer } from 'aws-cdk-lib';
const filterProperty: accessanalyzer.CfnAnalyzer.FilterProperty = {
  property: 'property',

  // the properties below are optional
  contains: ['contains'],
  eq: ['eq'],
  exists: false,
  neq: ['neq'],
};

Properties

NameTypeDescription
propertystringThe property used to define the criteria in the filter for the rule.
contains?string[]A "contains" condition to match for the rule.
eq?string[]An "equals" condition to match for the rule.
exists?boolean | IResolvableAn "exists" condition to match for the rule.
neq?string[]A "not equal" condition to match for the rule.

property

Type: string

The property used to define the criteria in the filter for the rule.


contains?

Type: string[] (optional)

A "contains" condition to match for the rule.


eq?

Type: string[] (optional)

An "equals" condition to match for the rule.


exists?

Type: boolean | IResolvable (optional)

An "exists" condition to match for the rule.


neq?

Type: string[] (optional)

A "not equal" condition to match for the rule.