Class: Aws::SecurityLake::Types::Tag

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

Overview

A tag is a label that you can define and associate with Amazon Web Services resources, including certain types of Amazon Security Lake resources. Tags can help you identify, categorize, and manage resources in different ways, such as by owner, environment, or other criteria. You can associate tags with the following types of Security Lake resources: subscribers, and the data lake configuration for your Amazon Web Services account in individual Amazon Web Services Regions.

A resource can have up to 50 tags. Each tag consists of a required tag key and an associated tag value. A tag key is a general label that acts as a category for a more specific tag value. Each tag key must be unique and it can have only one tag value. A tag value acts as a descriptor for a tag key. Tag keys and values are case sensitive. They can contain letters, numbers, spaces, or the following symbols: _ . : / = + @ -

For more information, see Tagging Amazon Security Lake resources in the Amazon Security Lake User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the tag. This is a general label that acts as a category for a more specific tag value (value).

Returns:

  • (String)


1808
1809
1810
1811
1812
1813
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 1808

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

#valueString

The value that’s associated with the specified tag key (key). This value acts as a descriptor for the tag key. A tag value cannot be null, but it can be an empty string.

Returns:

  • (String)


1808
1809
1810
1811
1812
1813
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 1808

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