Skip to content

Adds one or more tags to an Amazon Web Services resource

Description

Adds one or more tags to an Amazon Web Services resource.

Usage

fms_tag_resource(ResourceArn, TagList)

Arguments

  • ResourceArn

    [required] The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.

  • TagList

    [required] The tags to add to the resource.

Value

An empty list.

Request syntax

svc$tag_resource(
  ResourceArn = "string",
  TagList = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)