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 are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : /

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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

Returns:

  • (String)


1924
1925
1926
1927
1928
1929
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1924

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

#valueString

The value of the tag key.

Returns:

  • (String)


1924
1925
1926
1927
1928
1929
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 1924

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