Class: Aws::FMS::Types::ResourceTag
- Inherits:
-
Struct
- Object
- Struct
- Aws::FMS::Types::ResourceTag
- 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
-
#key ⇒ String
The resource tag key.
-
#value ⇒ String
The resource tag value.
Instance Attribute Details
#key ⇒ String
The resource tag key.
2119 2120 2121 2122 2123 2124 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 2119 class ResourceTag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The resource tag value.
2119 2120 2121 2122 2123 2124 |
# File 'gems/aws-sdk-fms/lib/aws-sdk-fms/types.rb', line 2119 class ResourceTag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |