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

Class: Aws::CodeBuild::Types::Tag

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

Overview

Note:

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

{
  key: "KeyInput",
  value: "ValueInput",
}

A tag, consisting of a key and a value.

This tag is available for use by AWS services that support tags in AWS CodeBuild.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag's key.

Returns:

  • (String)


1348
1349
1350
1351
1352
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1348

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

#valueString

The tag's value.

Returns:

  • (String)


1348
1349
1350
1351
1352
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1348

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