interface UnusedAccessConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AccessAnalyzer.CfnAnalyzer.UnusedAccessConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaccessanalyzer#CfnAnalyzer_UnusedAccessConfigurationProperty |
Java | software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.UnusedAccessConfigurationProperty |
Python | aws_cdk.aws_accessanalyzer.CfnAnalyzer.UnusedAccessConfigurationProperty |
TypeScript | aws-cdk-lib » aws_accessanalyzer » CfnAnalyzer » UnusedAccessConfigurationProperty |
Contains information about an unused access analyzer.
Example
// 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 unusedAccessConfigurationProperty: accessanalyzer.CfnAnalyzer.UnusedAccessConfigurationProperty = {
analysisRule: {
exclusions: [{
accountIds: ['accountIds'],
resourceTags: [[{
key: 'key',
value: 'value',
}]],
}],
},
unusedAccessAge: 123,
};
Properties
Name | Type | Description |
---|---|---|
analysis | IResolvable | Analysis | Contains information about analysis rules for the analyzer. |
unused | number | The specified access age in days for which to generate findings for unused access. |
analysisRule?
Type:
IResolvable
|
Analysis
(optional)
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.
unusedAccessAge?
Type:
number
(optional)
The specified access age in days for which to generate findings for unused access.
For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.