Skip to content

CreateAssessmentTemplateRequest

Source code in docs_src/capo_inspector/types/create_assessment_template_request.py
class CreateAssessmentTemplateRequest(TypedDict, closed=True):
    assessment_target_arn: "capo_inspector.types.arn.Arn"
    """<p>The ARN that specifies the assessment target for which you want to create the assessment template.</p>"""
    assessment_template_name: (
        "capo_inspector.types.assessment_template_name.AssessmentTemplateName"
    )
    """<p>The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.</p>"""
    duration_in_seconds: (
        "capo_inspector.types.assessment_run_duration.AssessmentRunDuration"
    )
    """<p>The duration of the assessment run in seconds.</p>"""
    rules_package_arns: "capo_inspector.types.assessment_template_rules_package_arn_list.AssessmentTemplateRulesPackageArnList"
    """<p>The ARNs that specify the rules packages that you want to attach to the assessment template.</p>"""
    user_attributes_for_findings: NotRequired[
        "capo_inspector.types.user_attribute_list.UserAttributeList"
    ]
    """<p>The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an <a>Attribute</a> object). Within an assessment template, each key must be unique.</p>"""

assessment_target_arn instance-attribute

assessment_target_arn: Arn

The ARN that specifies the assessment target for which you want to create the assessment template.

assessment_template_name instance-attribute

assessment_template_name: AssessmentTemplateName

The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.

duration_in_seconds instance-attribute

duration_in_seconds: AssessmentRunDuration

The duration of the assessment run in seconds.

rules_package_arns instance-attribute

The ARNs that specify the rules packages that you want to attach to the assessment template.

user_attributes_for_findings instance-attribute

user_attributes_for_findings: NotRequired[UserAttributeList]

The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.