Interface CfnPolicy.IResourceTagProperty
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.
Namespace: Amazon.CDK.AWS.FMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResourceTagProperty
Syntax (vb)
Public Interface IResourceTagProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FMS;
var resourceTagProperty = new ResourceTagProperty {
Key = "key",
// the properties below are optional
Value = "value"
};
Synopsis
Properties
Key | The resource tag key. |
Value | The resource tag value. |
Properties
Key
The resource tag key.
string Key { get; }
Property Value
System.
Remarks
Value
The resource tag value.
virtual string Value { get; }
Property Value
System.