interface CfnAnalyzerProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AccessAnalyzer.CfnAnalyzerProps |
Java | software.amazon.awscdk.services.accessanalyzer.CfnAnalyzerProps |
Python | aws_cdk.aws_accessanalyzer.CfnAnalyzerProps |
TypeScript | @aws-cdk/aws-accessanalyzer » CfnAnalyzerProps |
Properties for defining a CfnAnalyzer
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as accessanalyzer from '@aws-cdk/aws-accessanalyzer';
const cfnAnalyzerProps: accessanalyzer.CfnAnalyzerProps = {
type: 'type',
// the properties below are optional
analyzerName: 'analyzerName',
archiveRules: [{
filter: [{
property: 'property',
// the properties below are optional
contains: ['contains'],
eq: ['eq'],
exists: false,
neq: ['neq'],
}],
ruleName: 'ruleName',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
type | string | The type represents the zone of trust for the analyzer. |
analyzer | string | The name of the analyzer. |
archive | IResolvable | Archive | IResolvable [] | Specifies the archive rules to add for the analyzer. |
tags? | Cfn [] | The tags to apply to the analyzer. |
type
Type:
string
The type represents the zone of trust for the analyzer.
Allowed Values : ACCOUNT | ORGANIZATION
analyzerName?
Type:
string
(optional)
The name of the analyzer.
archiveRules?
Type:
IResolvable
|
Archive
|
IResolvable
[]
(optional)
Specifies the archive rules to add for the analyzer.
tags?
Type:
Cfn
[]
(optional)
The tags to apply to the analyzer.