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

Class: Aws::DatabaseMigrationService::Types::AddTagsToResourceMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb

Overview

Note:

When making an API call, you may pass AddTagsToResourceMessage data as a 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)


77
78
79
80
81
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb', line 77

class AddTagsToResourceMessage < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

One or more tags to be assigned to the resource.

Returns:



77
78
79
80
81
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb', line 77

class AddTagsToResourceMessage < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end