# NOT RUN {
# Creates an assessment template for the assessment target that is
# specified by the ARN of the assessment target.
# }
# NOT RUN {
svc$create_assessment_template(
assessmentTargetArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX",
assessmentTemplateName = "ExampleAssessmentTemplate",
durationInSeconds = 180L,
rulesPackageArns = list(
"arn:aws:inspector:us-west-2:758058086616:rulespackage/0-11B9DBXp"
),
userAttributesForFindings = list(
list(
key = "Example",
value = "example"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab