Class Tag
Metadata Entry spec for stack tag.
Inheritance
System.Object
Tag
Implements
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public class Tag : Object, ITag
Syntax (vb)
Public Class Tag
Inherits Object
Implements ITag
Remarks
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.CloudAssembly.Schema;
var tag = new Tag {
Key = "key",
Value = "value"
};
Synopsis
Constructors
Tag() |
Properties
Key | Tag key. |
Value | Tag value. |
Constructors
Tag()
public Tag()
Properties
Key
Tag key.
public string Key { get; set; }
Property Value
System.String
Remarks
(In the actual file on disk this will be cased as "Key", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)
Value
Tag value.
public string Value { get; set; }
Property Value
System.String
Remarks
(In the actual file on disk this will be cased as "Value", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)