Optional
authorizationOptional
includeBy default, we only forward requests that match the route's path exactly. So for a route with
path /api/users
, a request to /api/users
will be forwarded, but a request to
/api/users/admin
will not. If you want to forward requests to all sub-paths under the route's
path, you can set this to true.
Optional
integrationThe integration that the route will forward to. See IntegrationProps for the available options.
If undefined, uses the ApiGatewayProps.defaultIntegration.
Optional
methodThe HTTP method to expose. ANY
exposes all HTTP methods on the path.
The path of the route to expose through the API Gateway. Use "/" for the root route.
How requests on the route are authenticated. See AuthorizationProps for the available options.
If undefined, uses the ApiGatewayProps.defaultAuthorization.