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

Class: Aws::DocDB::Types::AddTagsToResourceMessage

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

Overview

Note:

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

{
  resource_name: "String", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

Represents the input to AddTagsToResource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

Returns:

  • (String)

    The Amazon DocumentDB resource that the tags are added to.

#tagsArray<Types::Tag>

The tags to be assigned to the Amazon DocumentDB resource.

Returns:

  • (Array<Types::Tag>)

    The tags to be assigned to the Amazon DocumentDB resource.