interface AnalysisRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins.CfnAnalyzerPropsMixin.AnalysisRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaccessanalyzer/mixins#CfnAnalyzerPropsMixin_AnalysisRuleProperty |
Java | software.amazon.awscdk.mixins.preview.services.accessanalyzer.mixins.CfnAnalyzerPropsMixin.AnalysisRuleProperty |
Python | aws_cdk.mixins_preview.aws_accessanalyzer.mixins.CfnAnalyzerPropsMixin.AnalysisRuleProperty |
TypeScript | @aws-cdk/mixins-preview » aws_accessanalyzer » mixins » CfnAnalyzerPropsMixin » AnalysisRuleProperty |
Contains information about analysis rules for the analyzer.
Analysis rules determine which entities will generate findings based on 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 analysisRuleProperty: accessanalyzer_mixins.CfnAnalyzerPropsMixin.AnalysisRuleProperty = {
exclusions: [{
accountIds: ['accountIds'],
resourceTags: [[{
key: 'key',
value: 'value',
}]],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| exclusions? | IResolvable | (IResolvable | Analysis)[] | A list of rules for the analyzer containing criteria to exclude from analysis. |
exclusions?
Type:
IResolvable | (IResolvable | Analysis)[]
(optional)
A list of rules for the analyzer containing criteria to exclude from analysis.
Entities that meet the rule criteria will not generate findings.

.NET
Go
Java
Python
TypeScript