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
- Struct
- Aws::DatabaseMigrationService::Types::AddTagsToResourceMessage
- 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
-
#resource_arn ⇒ String
Identifies the AWS DMS resource to which tags should be added.
-
#tags ⇒ Array<Types::Tag>
One or more tags to be assigned to the resource.
Instance Attribute Details
#resource_arn ⇒ String
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.
#tags ⇒ Array<Types::Tag>
One or more tags to be assigned to the resource.