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

Class: Aws::DatabaseMigrationService::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_arn: "String", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

Associates a set of tags with an AWS DMS resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.

Returns:

  • (String)

    Identifies the AWS DMS resource to which tags should be added.

#tagsArray<Types::Tag>

One or more tags to be assigned to the resource.

Returns:

  • (Array<Types::Tag>)

    One or more tags to be assigned to the resource.