You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Backup::Types::TagResourceInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceInput as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

Returns:

  • (String)

    An ARN that uniquely identifies a resource.

#tagsHash<String,String>

Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create.

Returns:

  • (Hash<String,String>)

    Key-value pairs that are used to help organize your resources.