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

Class: Aws::DataPipeline::Types::Tag

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

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "tagKey", # required
  value: "tagValue", # required
}

Tags are key/value pairs defined by a user and associated with a pipeline to control access. AWS Data Pipeline allows you to associate ten tags per pipeline. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key name of a tag defined by a user. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.

Returns:

  • (String)


1375
1376
1377
1378
1379
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 1375

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

The optional value portion of a tag defined by a user. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.

Returns:

  • (String)


1375
1376
1377
1378
1379
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 1375

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end