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

Class: Aws::EFS::Types::Tag

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

Overview

Note:

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

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

A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers, representable in UTF-8, and the following characters:+ - = . _ : /

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Tag key (String). The key can't start with aws:.

Returns:

  • (String)


631
632
633
634
635
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 631

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

#valueString

Value of the tag key.

Returns:

  • (String)


631
632
633
634
635
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 631

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