interface ArchiveRuleProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.AccessAnalyzer.CfnAnalyzer.ArchiveRuleProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaccessanalyzer#CfnAnalyzer_ArchiveRuleProperty | 
|  Java | software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.ArchiveRuleProperty | 
|  Python | aws_cdk.aws_accessanalyzer.CfnAnalyzer.ArchiveRuleProperty | 
|  TypeScript | aws-cdk-lib»aws_accessanalyzer»CfnAnalyzer»ArchiveRuleProperty | 
Contains information about an archive rule.
Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
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 archiveRuleProperty: accessanalyzer.CfnAnalyzer.ArchiveRuleProperty = {
  filter: [{
    property: 'property',
    // the properties below are optional
    contains: ['contains'],
    eq: ['eq'],
    exists: false,
    neq: ['neq'],
  }],
  ruleName: 'ruleName',
};
Properties
| Name | Type | Description | 
|---|---|---|
| filter | IResolvable | (IResolvable | Filter)[] | The criteria for the rule. | 
| rule | string | The name of the rule to create. | 
filter
Type:
IResolvable | (IResolvable | Filter)[]
The criteria for the rule.
ruleName
Type:
string
The name of the rule to create.
