interface CfnAssessmentTemplateMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins.CfnAssessmentTemplateMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsinspector/mixins#CfnAssessmentTemplateMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.inspector.mixins.CfnAssessmentTemplateMixinProps |
Python | aws_cdk.mixins_preview.aws_inspector.mixins.CfnAssessmentTemplateMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_inspector » mixins » CfnAssessmentTemplateMixinProps |
Properties for CfnAssessmentTemplatePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as inspector_mixins } from '@aws-cdk/mixins-preview/aws-inspector';
const cfnAssessmentTemplateMixinProps: inspector_mixins.CfnAssessmentTemplateMixinProps = {
assessmentTargetArn: 'assessmentTargetArn',
assessmentTemplateName: 'assessmentTemplateName',
durationInSeconds: 123,
rulesPackageArns: ['rulesPackageArns'],
userAttributesForFindings: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| assessment | string | The ARN of the assessment target to be included in the assessment template. |
| assessment | string | The user-defined name that identifies the assessment template that you want to create. |
| duration | number | The duration of the assessment run in seconds. |
| rules | string[] | The ARNs of the rules packages that you want to use in the assessment template. |
| user | IResolvable | (IResolvable | Cfn)[] | The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. |
assessmentTargetArn?
Type:
string
(optional)
The ARN of the assessment target to be included in the assessment template.
assessmentTemplateName?
Type:
string
(optional)
The user-defined name that identifies the assessment template that you want to create.
You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
durationInSeconds?
Type:
number
(optional)
The duration of the assessment run in seconds.
rulesPackageArns?
Type:
string[]
(optional)
The ARNs of the rules packages that you want to use in the assessment template.
userAttributesForFindings?
Type:
IResolvable | (IResolvable | Cfn)[]
(optional)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
Within an assessment template, each key must be unique.

.NET
Go
Java
Python
TypeScript