Class: Aws::Cloud9::Types::Tag

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

Overview

Note:

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

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

Metadata that is associated with AWS resources. In particular, a name-value pair that can be associated with an AWS Cloud9 development environment. There are two types of tags: user tags and system tags. A user tag is created by the user. A system tag is automatically created by AWS services. A system tag is prefixed with "aws:" and cannot be modified by the user.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name part of a tag.

Returns:

  • (String)


648
649
650
651
652
653
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb', line 648

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

#valueString

The value part of a tag.

Returns:

  • (String)


648
649
650
651
652
653
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb', line 648

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