Skip to content

Add tags to an accelerator resource

Description

Add tags to an accelerator resource.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

Usage

globalaccelerator_tag_resource(ResourceArn, Tags)

Arguments

  • ResourceArn

    [required] The Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to. An ARN uniquely identifies a resource.

  • Tags

    [required] The tags to add to a resource. A tag consists of a key and a value that you define.

Value

An empty list.

Request syntax

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