

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

# AWS::KinesisAnalyticsV2::Application Tag
<a name="aws-properties-kinesisanalyticsv2-application-tag"></a>

A key-value pair (the value is optional) that you can define and assign to Amazon resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see [Using Tagging](https://docs.aws.amazon.com/kinesisanalytics/latest/java/how-tagging.html).

## Syntax
<a name="aws-properties-kinesisanalyticsv2-application-tag-syntax"></a>

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

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

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

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

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

## Properties
<a name="aws-properties-kinesisanalyticsv2-application-tag-properties"></a>

`Key`  <a name="cfn-kinesisanalyticsv2-application-tag-key"></a>
The key of the key-value tag.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-kinesisanalyticsv2-application-tag-value"></a>
The value of the key-value tag. The value is optional.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)