Class: Aws::DatabaseMigrationService::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::DatabaseMigrationService::Types::Tag
- Includes:
- Structure
- Defined in:
- 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
-
#key ⇒ String
A key is the required name of the tag.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
-
#value ⇒ String
A value is the optional value of the tag.
Instance Attribute Details
#key ⇒ String
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: “^([\\pL\\pZ\\pN_.:/=+\\-]*)$”).
14284 14285 14286 14287 14288 14289 14290 |
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 14284 class Tag < Struct.new( :key, :value, :resource_arn) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
14284 14285 14286 14287 14288 14289 14290 |
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 14284 class Tag < Struct.new( :key, :value, :resource_arn) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
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: “^([\\pL\\pZ\\pN_.:/=+\\-]*)$”).
14284 14285 14286 14287 14288 14289 14290 |
# File 'lib/aws-sdk-databasemigrationservice/types.rb', line 14284 class Tag < Struct.new( :key, :value, :resource_arn) SENSITIVE = [] include Aws::Structure end |