Interface CfnAssessmentTemplateMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessmentTemplateMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:21.159Z")
@Stability(Stable)
public interface CfnAssessmentTemplateMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAssessmentTemplatePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.inspector.*;
CfnAssessmentTemplateMixinProps cfnAssessmentTemplateMixinProps = CfnAssessmentTemplateMixinProps.builder()
.assessmentTargetArn("assessmentTargetArn")
.assessmentTemplateName("assessmentTemplateName")
.durationInSeconds(123)
.rulesPackageArns(List.of("rulesPackageArns"))
.userAttributesForFindings(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssessmentTemplateMixinPropsstatic final classAn implementation forCfnAssessmentTemplateMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe ARN of the assessment target to be included in the assessment template.default StringThe user-defined name that identifies the assessment template that you want to create.default NumberThe duration of the assessment run in seconds.The ARNs of the rules packages that you want to use in the assessment template.default ObjectThe 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.Returns union: either
StringorIAssessmentTargetRef- 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:
-
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:
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTag>- See Also:
-
builder
-