@Stability(value=Stable) public static final class CfnAssessmentTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnAssessmentTemplate>
CfnAssessmentTemplate.| Modifier and Type | Method and Description |
|---|---|
CfnAssessmentTemplate.Builder |
assessmentTargetArn(String assessmentTargetArn)
The ARN of the assessment target to be included in the assessment template.
|
CfnAssessmentTemplate.Builder |
assessmentTemplateName(String assessmentTemplateName)
The user-defined name that identifies the assessment template that you want to create.
|
CfnAssessmentTemplate |
build() |
static CfnAssessmentTemplate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAssessmentTemplate.Builder |
durationInSeconds(Number durationInSeconds)
The duration of the assessment run in seconds.
|
CfnAssessmentTemplate.Builder |
rulesPackageArns(List<String> rulesPackageArns)
The ARNs of the rules packages that you want to use in the assessment template.
|
CfnAssessmentTemplate.Builder |
userAttributesForFindings(IResolvable userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
|
CfnAssessmentTemplate.Builder |
userAttributesForFindings(List<? extends Object> userAttributesForFindings)
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.
|
@Stability(value=Stable) public static CfnAssessmentTemplate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAssessmentTemplate.Builder.@Stability(value=Stable) public CfnAssessmentTemplate.Builder assessmentTargetArn(String assessmentTargetArn)
assessmentTargetArn - The ARN of the assessment target to be included in the assessment template. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate.Builder durationInSeconds(Number durationInSeconds)
durationInSeconds - The duration of the assessment run in seconds. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate.Builder rulesPackageArns(List<String> rulesPackageArns)
rulesPackageArns - The ARNs of the rules packages that you want to use in the assessment template. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate.Builder assessmentTemplateName(String assessmentTemplateName)
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.
assessmentTemplateName - The user-defined name that identifies the assessment template that you want to create. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate.Builder userAttributesForFindings(IResolvable userAttributesForFindings)
Within an assessment template, each key must be unique.
userAttributesForFindings - The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate.Builder userAttributesForFindings(List<? extends Object> userAttributesForFindings)
Within an assessment template, each key must be unique.
userAttributesForFindings - The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplate build()
build in interface software.amazon.jsii.Builder<CfnAssessmentTemplate>Copyright © 2022. All rights reserved.