@Stability(value=Stable) public static final class CfnAssessmentTemplateProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAssessmentTemplateProps>
CfnAssessmentTemplateProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAssessmentTemplateProps.Builder assessmentTargetArn(String assessmentTargetArn)
CfnAssessmentTemplateProps.getAssessmentTargetArn()assessmentTargetArn - The ARN of the assessment target to be included in the assessment template. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplateProps.Builder durationInSeconds(Number durationInSeconds)
CfnAssessmentTemplateProps.getDurationInSeconds()durationInSeconds - The duration of the assessment run in seconds. This parameter is required.this@Stability(value=Stable) public CfnAssessmentTemplateProps.Builder rulesPackageArns(List<String> rulesPackageArns)
CfnAssessmentTemplateProps.getRulesPackageArns()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 CfnAssessmentTemplateProps.Builder assessmentTemplateName(String assessmentTemplateName)
CfnAssessmentTemplateProps.getAssessmentTemplateName()assessmentTemplateName - 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.this@Stability(value=Stable) public CfnAssessmentTemplateProps.Builder userAttributesForFindings(IResolvable userAttributesForFindings)
CfnAssessmentTemplateProps.getUserAttributesForFindings()userAttributesForFindings - 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.this@Stability(value=Stable) public CfnAssessmentTemplateProps.Builder userAttributesForFindings(List<? extends Object> userAttributesForFindings)
CfnAssessmentTemplateProps.getUserAttributesForFindings()userAttributesForFindings - 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.this@Stability(value=Stable) public CfnAssessmentTemplateProps build()
build in interface software.amazon.jsii.Builder<CfnAssessmentTemplateProps>CfnAssessmentTemplatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.