import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type RouteAttributes = {
    RouteId: Attribute<string>;
};
export type Route = AwsResource<'AWS::ApiGatewayV2::Route', RouteProperties, RouteAttributes>;
/**
  The <code>AWS::ApiGatewayV2::Route</code> resource creates a route for an API.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html">the AWS Docs</a>
*/
export declare function route(routeProps: RouteProperties): Route;
/**
  The <code>AWS::ApiGatewayV2::Route</code> resource creates a route for an API.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html">the AWS Docs</a>
*/
export interface RouteProperties {
    /** <code>Target</code>  <a name="cfn-apigatewayv2-route-target"></a>
  The target for the route.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    target?: Value<string>;
    /** <code>RouteResponseSelectionExpression</code>  <a name="cfn-apigatewayv2-route-routeresponseselectionexpression"></a>
  The route response selection expression for the route. Supported only for WebSocket APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    routeResponseSelectionExpression?: Value<string>;
    /** <code>RequestModels</code>  <a name="cfn-apigatewayv2-route-requestmodels"></a>
  The request models for the route. Supported only for WebSocket APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    requestModels?: Value<any>;
    /** <code>OperationName</code>  <a name="cfn-apigatewayv2-route-operationname"></a>
  The operation name for the route.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    operationName?: Value<string>;
    /** <code>AuthorizerId</code>  <a name="cfn-apigatewayv2-route-authorizerid"></a>
  The identifier of the <code>Authorizer</code> resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    authorizerId?: Value<string>;
    /** <code>AuthorizationScopes</code>  <a name="cfn-apigatewayv2-route-authorizationscopes"></a>
  The authorization scopes supported by this route.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    authorizationScopes?: Value<Value<string>[]>;
    /** <code>ApiKeyRequired</code>  <a name="cfn-apigatewayv2-route-apikeyrequired"></a>
  Specifies whether an API key is required for the route. Supported only for WebSocket APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    apiKeyRequired?: Value<boolean>;
    /** <code>RouteKey</code>  <a name="cfn-apigatewayv2-route-routekey"></a>
  The route key for the route. For HTTP APIs, the route key can be either <code>$default</code>, or a combination of an HTTP method and resource path, for example, <code>GET /pets</code>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    routeKey: Value<string>;
    /** <code>AuthorizationType</code>  <a name="cfn-apigatewayv2-route-authorizationtype"></a>
  The authorization type for the route. For WebSocket APIs, valid values are <code>NONE</code> for open access, <code>AWS_IAM</code> for using AWS IAM permissions, and <code>CUSTOM</code> for using a Lambda authorizer. For HTTP APIs, valid values are <code>NONE</code> for open access, <code>JWT</code> for using JSON Web Tokens, <code>AWS_IAM</code> for using AWS IAM permissions, and <code>CUSTOM</code> for using a Lambda authorizer.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    authorizationType?: Value<string>;
    /** <code>ModelSelectionExpression</code>  <a name="cfn-apigatewayv2-route-modelselectionexpression"></a>
  The model selection expression for the route. Supported only for WebSocket APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    modelSelectionExpression?: Value<string>;
    /** <code>ApiId</code>  <a name="cfn-apigatewayv2-route-apiid"></a>
  The API identifier.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    apiId: Value<string>;
    /** <code>RequestParameters</code>  <a name="cfn-apigatewayv2-route-requestparameters"></a>
  The request parameters for the route. Supported only for WebSocket APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    requestParameters?: Value<any>;
}
