Skip to content

Adds one or more tags to a resource

Description

Adds one or more tags to a resource.

Usage

securityhub_tag_resource(ResourceArn, Tags)

Arguments

  • ResourceArn

    [required] The ARN of the resource to apply the tags to.

  • Tags

    [required] The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.

Value

An empty list.

Request syntax

svc$tag_resource(
  ResourceArn = "string",
  Tags = list(
    "string"
  )
)