interface ArchiveRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaccessanalyzer/mixins#CfnAnalyzerPropsMixin_ArchiveRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.accessanalyzer.mixins.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
Python | aws_cdk.mixins_preview.aws_accessanalyzer.mixins.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_accessanalyzer » mixins » CfnAnalyzerPropsMixin » 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 { mixins as accessanalyzer_mixins } from '@aws-cdk/mixins-preview/aws-accessanalyzer';
const archiveRuleProperty: accessanalyzer_mixins.CfnAnalyzerPropsMixin.ArchiveRuleProperty = {
filter: [{
contains: ['contains'],
eq: ['eq'],
exists: false,
neq: ['neq'],
property: 'property',
}],
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)[]
(optional)
The criteria for the rule.
ruleName?
Type:
string
(optional)
The name of the rule to create.

.NET
Go
Java
Python
TypeScript