Class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty
The criteria for an analysis rule for an internal access analyzer.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty : CfnAnalyzerPropsMixin.IInternalAccessAnalysisRuleCriteriaProperty
Syntax (vb)
Public Class CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty Implements CfnAnalyzerPropsMixin.IInternalAccessAnalysisRuleCriteriaProperty
Remarks
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 internalAccessAnalysisRuleCriteriaProperty = new InternalAccessAnalysisRuleCriteriaProperty {
AccountIds = new [] { "accountIds" },
ResourceArns = new [] { "resourceArns" },
ResourceTypes = new [] { "resourceTypes" }
};
Synopsis
Constructors
| InternalAccessAnalysisRuleCriteriaProperty() | The criteria for an analysis rule for an internal access analyzer. |
Properties
| AccountIds | A list of AWS account IDs to apply to the internal access analysis rule criteria. |
| ResourceArns | A list of resource ARNs to apply to the internal access analysis rule criteria. |
| ResourceTypes | A list of resource types to apply to the internal access analysis rule criteria. |
Constructors
InternalAccessAnalysisRuleCriteriaProperty()
The criteria for an analysis rule for an internal access analyzer.
public InternalAccessAnalysisRuleCriteriaProperty()
Remarks
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 internalAccessAnalysisRuleCriteriaProperty = new InternalAccessAnalysisRuleCriteriaProperty {
AccountIds = new [] { "accountIds" },
ResourceArns = new [] { "resourceArns" },
ResourceTypes = new [] { "resourceTypes" }
};
Properties
AccountIds
A list of AWS account IDs to apply to the internal access analysis rule criteria.
public string[]? AccountIds { get; set; }
Property Value
string[]
Remarks
Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.
ResourceArns
A list of resource ARNs to apply to the internal access analysis rule criteria.
public string[]? ResourceArns { get; set; }
Property Value
string[]
Remarks
The analyzer will only generate findings for resources that match these ARNs.
ResourceTypes
A list of resource types to apply to the internal access analysis rule criteria.
public string[]? ResourceTypes { get; set; }
Property Value
string[]
Remarks
The analyzer will only generate findings for resources of these types. These resource types are currently supported for internal access analyzers: