interface CfnAnalyzerMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AccessAnalyzer.Mixins.CfnAnalyzerMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaccessanalyzer/mixins#CfnAnalyzerMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.accessanalyzer.mixins.CfnAnalyzerMixinProps |
Python | aws_cdk.mixins_preview.aws_accessanalyzer.mixins.CfnAnalyzerMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_accessanalyzer » mixins » CfnAnalyzerMixinProps |
Properties for CfnAnalyzerPropsMixin.
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 cfnAnalyzerMixinProps: accessanalyzer_mixins.CfnAnalyzerMixinProps = {
analyzerConfiguration: {
internalAccessConfiguration: {
internalAccessAnalysisRule: {
inclusions: [{
accountIds: ['accountIds'],
resourceArns: ['resourceArns'],
resourceTypes: ['resourceTypes'],
}],
},
},
unusedAccessConfiguration: {
analysisRule: {
exclusions: [{
accountIds: ['accountIds'],
resourceTags: [[{
key: 'key',
value: 'value',
}]],
}],
},
unusedAccessAge: 123,
},
},
analyzerName: 'analyzerName',
archiveRules: [{
filter: [{
contains: ['contains'],
eq: ['eq'],
exists: false,
neq: ['neq'],
property: 'property',
}],
ruleName: 'ruleName',
}],
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| analyzer | IResolvable | Analyzer | Contains information about the configuration of an analyzer for an AWS organization or account. |
| analyzer | string | The name of the analyzer. |
| archive | IResolvable | (IResolvable | Archive)[] | Specifies the archive rules to add for the analyzer. |
| tags? | Cfn[] | An array of key-value pairs to apply to the analyzer. |
| type? | string | The type represents the zone of trust for the analyzer. |
analyzerConfiguration?
Type:
IResolvable | Analyzer
(optional)
Contains information about the configuration of an analyzer for an AWS organization or account.
analyzerName?
Type:
string
(optional)
The name of the analyzer.
archiveRules?
Type:
IResolvable | (IResolvable | Archive)[]
(optional)
Specifies the archive rules to add for the analyzer.
Archive rules automatically archive findings that meet the criteria you define for the rule.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to the analyzer.
You can use the set of Unicode letters, digits, whitespace, _ , . , / , = , + , and - .
For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws: .
For the tag value, you can specify a value that is 0 to 256 characters in length.
type?
Type:
string
(optional)
The type represents the zone of trust for the analyzer.
Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS

.NET
Go
Java
Python
TypeScript