inspector_set_tags_for_resource: Sets tags (key and value pairs) to the assessment template...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
9
svc$set_tags_for_resource(
  resourceArn = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Sets tags (key and value pairs) to the assessment template that is
# specified by the ARN of the assessment template.
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"
    )
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.