Class CfnIdentity.TagsProperty
An object that defines the tags (keys and values) that you want to associate with the identity.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.AWS.PinpointEmail.dll
Syntax (csharp)
public class TagsProperty : Object, CfnIdentity.ITagsProperty
Syntax (vb)
Public Class TagsProperty
Inherits Object
Implements CfnIdentity.ITagsProperty
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.AWS.PinpointEmail;
var tagsProperty = new TagsProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
TagsProperty() |
Properties
Key | One part of a key-value pair that defines a tag. |
Value | The optional part of a key-value pair that defines a tag. |
Constructors
TagsProperty()
public TagsProperty()
Properties
Key
One part of a key-value pair that defines a tag.
public string Key { get; set; }
Property Value
System.String
Remarks
The maximum length of a tag key is 128 characters. The minimum length is 1 character.
If you specify tags for the identity, then this value is required.
Value
The optional part of a key-value pair that defines a tag.
public string Value { get; set; }
Property Value
System.String
Remarks
The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don’t want a resource to have a specific tag value, don’t specify a value for this parameter. Amazon Pinpoint will set the value to an empty string.