Skip to content

Tag Resource

cloudhsmv2_tag_resource R Documentation

Adds or overwrites one or more tags for the specified CloudHSM cluster

Description

Adds or overwrites one or more tags for the specified CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

Usage

cloudhsmv2_tag_resource(ResourceId, TagList)

Arguments

ResourceId

[required] The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use describe_clusters.

TagList

[required] A list of one or more tags.

Value

An empty list.

Request syntax

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