@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.829Z") @Stability(value=Stable) public interface CfnAssessmentTemplateProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.inspector.*;
CfnAssessmentTemplateProps cfnAssessmentTemplateProps = CfnAssessmentTemplateProps.builder()
.assessmentTargetArn("assessmentTargetArn")
.durationInSeconds(123)
.rulesPackageArns(List.of("rulesPackageArns"))
// the properties below are optional
.assessmentTemplateName("assessmentTemplateName")
.userAttributesForFindings(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssessmentTemplateProps.Builder
A builder for
CfnAssessmentTemplateProps |
static class |
CfnAssessmentTemplateProps.Jsii$Proxy
An implementation for
CfnAssessmentTemplateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssessmentTemplateProps.Builder |
builder() |
String |
getAssessmentTargetArn()
The ARN of the assessment target to be included in the assessment template.
|
default String |
getAssessmentTemplateName()
The user-defined name that identifies the assessment template that you want to create.
|
Number |
getDurationInSeconds()
The duration of the assessment run in seconds.
|
List<String> |
getRulesPackageArns()
The ARNs of the rules packages that you want to use in the assessment template.
|
default Object |
getUserAttributesForFindings()
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) @NotNull String getAssessmentTargetArn()
@Stability(value=Stable) @NotNull Number getDurationInSeconds()
@Stability(value=Stable) @NotNull List<String> getRulesPackageArns()
@Stability(value=Stable) @Nullable default String getAssessmentTemplateName()
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.
@Stability(value=Stable) @Nullable default Object getUserAttributesForFindings()
Within an assessment template, each key must be unique.
@Stability(value=Stable) static CfnAssessmentTemplateProps.Builder builder()
CfnAssessmentTemplateProps.Builder of CfnAssessmentTemplatePropsCopyright © 2022. All rights reserved.