Class: Aws::DatabaseMigrationService::Types::Tag

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

Overview

A user-defined key-value pair that describes metadata added to an DMS resource and that is used by operations such as the following:

  • AddTagsToResource

  • ListTagsForResource

  • RemoveTagsFromResource

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-]*)$").

Returns:

  • (String)


13315
13316
13317
13318
13319
13320
13321
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb', line 13315

class Tag < Struct.new(
  :key,
  :value,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

Returns:

  • (String)


13315
13316
13317
13318
13319
13320
13321
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb', line 13315

class Tag < Struct.new(
  :key,
  :value,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L\}\\p{Z\}\\p{N\}_.:/=+\\-]*)$").

Returns:

  • (String)


13315
13316
13317
13318
13319
13320
13321
# File 'gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/types.rb', line 13315

class Tag < Struct.new(
  :key,
  :value,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end