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

Class: Aws::ACMPCA::Types::Tag

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

Overview

Note:

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

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

Tags are labels that you can use to identify and organize your private CAs. Each tag consists of a key and an optional value. You can associate up to 50 tags with a private CA. To add one or more tags to a private CA, call the TagCertificateAuthority action. To remove a tag, call the UntagCertificateAuthority action.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Key (name) of the tag.

Returns:

  • (String)


1586
1587
1588
1589
1590
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1586

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

#valueString

Value of the tag.

Returns:

  • (String)


1586
1587
1588
1589
1590
# File 'gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb', line 1586

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