AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


2118
2119
2120
2121
2122
2123
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2118

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

#valueString

The value of the tag key.

Returns:

  • (String)


2118
2119
2120
2121
2122
2123
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2118

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