# NOT RUN {
# Sets tags (key and value pairs) to the assessment template that is
# specified by the ARN of the assessment template.
# }
# NOT RUN {
svc$set_tags_for_resource(
resourceArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2...",
tags = list(
list(
key = "Example",
value = "example"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab