Interface CfnIdentity.TagsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentity.TagsProperty.Jsii$Proxy
- Enclosing class:
CfnIdentity
@Stability(Stable)
public static interface CfnIdentity.TagsProperty
extends software.amazon.jsii.JsiiSerializable
An object that defines the tags (keys and values) that you want to associate with the identity.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpointemail.*; TagsProperty tagsProperty = TagsProperty.builder() .key("key") .value("value") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIdentity.TagsProperty
static final class
An implementation forCfnIdentity.TagsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
One part of a key-value pair that defines a tag.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.
-
getValue
The optional part of a key-value pair that defines a tag.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.
-
builder
- Returns:
- a
CfnIdentity.TagsProperty.Builder
ofCfnIdentity.TagsProperty
-