

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::Route53Resolver::ResolverQueryLoggingConfig Tag
<a name="aws-properties-route53resolver-resolverqueryloggingconfig-tag"></a>

One tag that you want to add to the specified resource. A tag consists of a `Key` (a name for the tag) and a `Value`.

## Syntax
<a name="aws-properties-route53resolver-resolverqueryloggingconfig-tag-syntax"></a>

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

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

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

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

```
  [Key](#cfn-route53resolver-resolverqueryloggingconfig-tag-key): String
  [Value](#cfn-route53resolver-resolverqueryloggingconfig-tag-value): String
```

## Properties
<a name="aws-properties-route53resolver-resolverqueryloggingconfig-tag-properties"></a>

`Key`  <a name="cfn-route53resolver-resolverqueryloggingconfig-tag-key"></a>
The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of `Key` might be `account-id`.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Value`  <a name="cfn-route53resolver-resolverqueryloggingconfig-tag-value"></a>
The value for the tag. For example, if `Key` is `account-id`, then `Value` might be the ID of the customer account that you're creating the resource for.  
*Required*: Yes  
*Type*: String  
*Minimum*: `0`  
*Maximum*: `256`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)