Class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleProperty
Contains information about analysis rules for the internal access analyzer.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleProperty : CfnAnalyzerPropsMixin.IInternalAccessAnalysisRuleProperty
Syntax (vb)
Public Class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleProperty Implements CfnAnalyzerPropsMixin.IInternalAccessAnalysisRuleProperty
Remarks
Analysis rules determine which entities will generate findings based on the criteria you define when you create the rule.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins;
var internalAccessAnalysisRuleProperty = new InternalAccessAnalysisRuleProperty {
Inclusions = new [] { new InternalAccessAnalysisRuleCriteriaProperty {
AccountIds = new [] { "accountIds" },
ResourceArns = new [] { "resourceArns" },
ResourceTypes = new [] { "resourceTypes" }
} }
};
Synopsis
Constructors
| InternalAccessAnalysisRuleProperty() | Contains information about analysis rules for the internal access analyzer. |
Properties
| Inclusions | A list of rules for the internal access analyzer containing criteria to include in analysis. |
Constructors
InternalAccessAnalysisRuleProperty()
Contains information about analysis rules for the internal access analyzer.
public InternalAccessAnalysisRuleProperty()
Remarks
Analysis rules determine which entities will generate findings based on the criteria you define when you create the rule.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins;
var internalAccessAnalysisRuleProperty = new InternalAccessAnalysisRuleProperty {
Inclusions = new [] { new InternalAccessAnalysisRuleCriteriaProperty {
AccountIds = new [] { "accountIds" },
ResourceArns = new [] { "resourceArns" },
ResourceTypes = new [] { "resourceTypes" }
} }
};
Properties
Inclusions
A list of rules for the internal access analyzer containing criteria to include in analysis.
public object? Inclusions { get; set; }
Property Value
Remarks
Only resources that meet the rule criteria will generate findings.
Type union: either IResolvable or (either IResolvable or CfnAnalyzerPropsMixin.IInternalAccessAnalysisRuleCriteriaProperty)[]