class Aws::GreengrassV2::Types::TagResourceRequest

@note When making an API call, you may pass TagResourceRequest

data as a hash:

    {
      resource_arn: "GenericV2ARN", # required
      tags: { # required
        "TagKey" => "TagValue",
      },
    }

@!attribute [rw] resource_arn

The [ARN][1] of the resource to tag.

[1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
@return [String]

@!attribute [rw] tags

A list of key-value pairs that contain metadata for the resource.
For more information, see [Tag your resources][1] in the *IoT
Greengrass V2 Developer Guide*.

[1]: https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html
@return [Hash<String,String>]

@see docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/TagResourceRequest AWS API Documentation

Constants

SENSITIVE