Class CfnPolicyPropsMixin.PolicyTagProperty
A collection of key:value pairs associated with an AWS resource.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.FMS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPolicyPropsMixin.PolicyTagProperty : CfnPolicyPropsMixin.IPolicyTagProperty
Syntax (vb)
Public Class CfnPolicyPropsMixin.PolicyTagProperty Implements CfnPolicyPropsMixin.IPolicyTagProperty
Remarks
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
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.CfnPropertyMixins.AWS.FMS;
var policyTagProperty = new PolicyTagProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
| PolicyTagProperty() | A collection of key:value pairs associated with an AWS resource. |
Properties
| Key | Part of the key:value pair that defines a tag. |
| Value | Part of the key:value pair that defines a tag. |
Constructors
PolicyTagProperty()
A collection of key:value pairs associated with an AWS resource.
public PolicyTagProperty()
Remarks
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.
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.CfnPropertyMixins.AWS.FMS;
var policyTagProperty = new PolicyTagProperty {
Key = "key",
Value = "value"
};
Properties
Key
Part of the key:value pair that defines a tag.
public string? Key { get; set; }
Property Value
Remarks
You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.
Value
Part of the key:value pair that defines a tag.
public string? Value { get; set; }
Property Value
Remarks
You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.