

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Notifications::NotificationConfiguration Tag
<a name="aws-properties-notifications-notificationconfiguration-tag"></a>

A tag is a string-to-string map of key-value pairs.

## Syntax
<a name="aws-properties-notifications-notificationconfiguration-tag-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-notifications-notificationconfiguration-tag-syntax.json"></a>

```
{
  "[Key](#cfn-notifications-notificationconfiguration-tag-key)" : {{String}},
  "[Value](#cfn-notifications-notificationconfiguration-tag-value)" : {{String}}
}
```

### YAML
<a name="aws-properties-notifications-notificationconfiguration-tag-syntax.yaml"></a>

```
  [Key](#cfn-notifications-notificationconfiguration-tag-key): {{String}}
  [Value](#cfn-notifications-notificationconfiguration-tag-value): {{String}}
```

## Properties
<a name="aws-properties-notifications-notificationconfiguration-tag-properties"></a>

`Key`  <a name="cfn-notifications-notificationconfiguration-tag-key"></a>
A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon have the reserved prefix:`aws:`.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Value`  <a name="cfn-notifications-notificationconfiguration-tag-value"></a>
A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)