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",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to.

#tagsArray<Types::Tag>

The tag to be assigned to the DMS resource.

Returns:

  • (Array<Types::Tag>)

    The tag to be assigned to the DMS resource.