

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::AppRunner::AutoScalingConfiguration Tag
<a name="aws-properties-apprunner-autoscalingconfiguration-tag"></a>

Describes a tag that is applied to an Amazon App Runner resource. A tag is a metadata item consisting of a key-value pair.

## Syntax
<a name="aws-properties-apprunner-autoscalingconfiguration-tag-syntax"></a>

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

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

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

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

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

## Properties
<a name="aws-properties-apprunner-autoscalingconfiguration-tag-properties"></a>

`Key`  <a name="cfn-apprunner-autoscalingconfiguration-tag-key"></a>
The key of the tag assigned to the `AutoScalingConfiguration` resource of the App Runner service.  
*Required*: No  
*Type*: String  
*Pattern*: `^(?!aws:).+`  
*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-apprunner-autoscalingconfiguration-tag-value"></a>
The value of the tag assigned to the `AutoScalingConfiguration` resource of the App Runner service.  
*Required*: No  
*Type*: String  
*Pattern*: `.*`  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)