

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::ApiGatewayV2::RouteResponse ParameterConstraints
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints"></a>

Specifies whether the parameter is required.

## Syntax
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints-syntax"></a>

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

### JSON
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints-syntax.json"></a>

```
{
  "[Required](#cfn-apigatewayv2-routeresponse-parameterconstraints-required)" : Boolean
}
```

### YAML
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints-syntax.yaml"></a>

```
  [Required](#cfn-apigatewayv2-routeresponse-parameterconstraints-required): Boolean
```

## Properties
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints-properties"></a>

`Required`  <a name="cfn-apigatewayv2-routeresponse-parameterconstraints-required"></a>
Specifies whether the parameter is required.  
*Required*: Yes  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## See also
<a name="aws-properties-apigatewayv2-routeresponse-parameterconstraints--seealso"></a>
+ [RouteResponses](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-routes-routeid-routeresponses.html) in the *Amazon API Gateway Version 2 API Reference*

