

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::GameLift::Script Tag
<a name="aws-properties-gamelift-script-tag"></a>

A label that you can assign to a Amazon GameLift Servers resource. 

 **Learn more** 

[Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the *AWS General Reference*

 [AWS Tagging Strategies](https://aws.amazon.com/answers/account-management/aws-tagging-strategies/) 

 **Related actions** 

 [All APIs by task](https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) 

## Syntax
<a name="aws-properties-gamelift-script-tag-syntax"></a>

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

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

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

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

```
  [Key](#cfn-gamelift-script-tag-key): String
  [Value](#cfn-gamelift-script-tag-value): String
```

## Properties
<a name="aws-properties-gamelift-script-tag-properties"></a>

`Key`  <a name="cfn-gamelift-script-tag-key"></a>
The key for a developer-defined key value pair for tagging an AWS resource.   
*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-gamelift-script-tag-value"></a>
The value for a developer-defined key value pair for tagging an AWS resource.   
*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)