class Aws::Inspector::Types::CreateAssessmentTemplateRequest

@note When making an API call, you may pass CreateAssessmentTemplateRequest

data as a hash:

    {
      assessment_target_arn: "Arn", # required
      assessment_template_name: "AssessmentTemplateName", # required
      duration_in_seconds: 1, # required
      rules_package_arns: ["Arn"], # required
      user_attributes_for_findings: [
        {
          key: "AttributeKey", # required
          value: "AttributeValue",
        },
      ],
    }

@!attribute [rw] assessment_target_arn

The ARN that specifies the assessment target for which you want to
create the assessment template.
@return [String]

@!attribute [rw] assessment_template_name

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.
@return [String]

@!attribute [rw] duration_in_seconds

The duration of the assessment run in seconds.
@return [Integer]

@!attribute [rw] rules_package_arns

The ARNs that specify the rules packages that you want to attach to
the assessment template.
@return [Array<String>]

@!attribute [rw] user_attributes_for_findings

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.
@return [Array<Types::Attribute>]

@see docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateRequest AWS API Documentation

Constants

SENSITIVE