Class: Aws::FMS::Types::ResourceTag

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

Overview

Note:

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

{
  key: "ResourceTagKey", # required
  value: "ResourceTagValue",
}

The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The resource tag key.

Returns:

  • (String)


2209
2210
2211
2212
2213
2214
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 2209

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

#valueString

The resource tag value.

Returns:

  • (String)


2209
2210
2211
2212
2213
2214
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 2209

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