AWS SDK Version 3 for .NET
API Reference

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.

The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. If you add more than one tag to a policy, you can specify whether to combine them using the logical AND operator or the logical OR operator. For more information, see Working with Tag Editor.

Every resource tag must have a string value, either a non-empty string or an empty string. If you don't provide a value for a resource tag, Firewall Manager saves the value as an empty string: "". When Firewall Manager compares tags, it only matches two tags if they have the same key and the same value. A tag with an empty string value only matches with tags that also have an empty string value.

Inheritance Hierarchy

System.Object
  Amazon.FMS.Model.ResourceTag

Namespace: Amazon.FMS.Model
Assembly: AWSSDK.FMS.dll
Version: 3.x.y.z

Syntax

C#
public class ResourceTag

The ResourceTag type exposes the following members

Constructors

NameDescription
Public Method ResourceTag()

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

The resource tag key.

Public Property Value System.String

Gets and sets the property Value.

The resource tag value. To specify an empty string value, either don't provide this or specify it as "".

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5