Skip to content
v2.274.0

CfnArchiveRuleProps Struct ​

Properties for defining a CfnArchiveRule.

Example ​

ts
// 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 cfnArchiveRuleProps: accessanalyzer.CfnArchiveRuleProps = {
  analyzerName: 'analyzerName',
  filter: {
    filterKey: {
      contains: ['contains'],
      eq: ['eq'],
      exists: false,
      neq: ['neq'],
    },
  },
  ruleName: 'ruleName',
};

Properties ​

analyzerNamestringanalyzer_namestranalyzerNameStringAnalyzerNamestringAnalyzerName*stringrequired#
The name of the analyzer for the archive rule.
filterIResolvable | { [key: string]: IResolvable | CfnArchiveRule.FilterItemsProperty }filtertyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, FilterItemsProperty]]]filterIResolvableFilterIResolvableFilterinterface{}required#
The criteria for the archive rule.

A map of filter criteria property names to their criterion values.

ruleNamestringrule_namestrruleNameStringRuleNamestringRuleName*stringrequired#
The name of the archive rule.