interface ArchiveRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AccessAnalyzer.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsaccessanalyzer#CfnAnalyzerPropsMixin_ArchiveRuleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.accessanalyzer.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
Python | aws_cdk.cfn_property_mixins.aws_accessanalyzer.CfnAnalyzerPropsMixin.ArchiveRuleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_accessanalyzer » 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 { aws_accessanalyzer as accessanalyzer } from '@aws-cdk/cfn-property-mixins';
const archiveRuleProperty: accessanalyzer.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