paws.security.identity (version 0.1.0)

inspector_set_tags_for_resource: Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template

Description

Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.

Usage

inspector_set_tags_for_resource(resourceArn, tags)

Arguments

resourceArn

[required] The ARN of the assessment template that you want to set tags to.

tags

A collection of key and value pairs that you want to set to the assessment template.

Request syntax

svc$set_tags_for_resource(
  resourceArn = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Examples

Run this code
# 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