Interface CfnAssessmentTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessmentTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:17.920Z")
@Stability(Stable)
public interface CfnAssessmentTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAssessmentTemplate
.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAssessmentTemplateProps
static final class
An implementation forCfnAssessmentTemplateProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ARN of the assessment target to be included in the assessment template.default String
The user-defined name that identifies the assessment template that you want to create.The duration of the assessment run in seconds.The ARNs of the rules packages that you want to use in the assessment template.default Object
The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssessmentTargetArn
The ARN of the assessment target to be included in the assessment template.- See Also:
-
getDurationInSeconds
The duration of the assessment run in seconds.- See Also:
-
getRulesPackageArns
The ARNs of the rules packages that you want to use in the assessment template.- See Also:
-
getAssessmentTemplateName
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.
- See Also:
-
getUserAttributesForFindings
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.
- See Also:
-
builder
- Returns:
- a
CfnAssessmentTemplateProps.Builder
ofCfnAssessmentTemplateProps
-