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

Class: Aws::KinesisAnalytics::Types::Tag

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

Overview

Note:

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

{
  key: "TagKey", # required
  value: "TagValue",
}

A key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of the key-value tag.

Returns:

  • (String)


3425
3426
3427
3428
3429
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 3425

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

#valueString

The value of the key-value tag. The value is optional.

Returns:

  • (String)


3425
3426
3427
3428
3429
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 3425

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