

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::DeviceFarm::InstanceProfile Tag
<a name="aws-properties-devicefarm-instanceprofile-tag"></a>

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters. 

## Syntax
<a name="aws-properties-devicefarm-instanceprofile-tag-syntax"></a>

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

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

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

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

```
  [Key](#cfn-devicefarm-instanceprofile-tag-key): String
  [Value](#cfn-devicefarm-instanceprofile-tag-value): String
```

## Properties
<a name="aws-properties-devicefarm-instanceprofile-tag-properties"></a>

`Key`  <a name="cfn-devicefarm-instanceprofile-tag-key"></a>
One part of a key-value pair that makes up a tag. A `key` is a general label that acts like a category for more specific tag values.  
*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-devicefarm-instanceprofile-tag-value"></a>
The optional part of a key-value pair that makes up a tag. A `value` acts as a descriptor in a tag category (key).  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)