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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ResourceTag as input to an Aws::Client method, you can use a vanilla 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.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The resource tag key.

Returns:

  • (String)

    The resource tag key.

#valueString

The resource tag value.

Returns:

  • (String)

    The resource tag value.