Interface CfnAnalyzer.AnalysisRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalyzer.AnalysisRuleProperty.Jsii$Proxy
- Enclosing class:
CfnAnalyzer
@Stability(Stable)
public static interface CfnAnalyzer.AnalysisRuleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.accessanalyzer.*; AnalysisRuleProperty analysisRuleProperty = AnalysisRuleProperty.builder() .exclusions(List.of(AnalysisRuleCriteriaProperty.builder() .accountIds(List.of("accountIds")) .resourceTags(List.of(List.of(CfnTag.builder() .key("key") .value("value") .build()))) .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAnalyzer.AnalysisRuleProperty
static final class
An implementation forCfnAnalyzer.AnalysisRuleProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExclusions
A list of rules for the analyzer containing criteria to exclude from analysis.Entities that meet the rule criteria will not generate findings.
- See Also:
-
builder
-