We are excited to announce our new API Documentation.
The API identifier.
Optional
ApiSpecifies whether an API key is required for the route. Supported only for WebSocket APIs.
Optional
AuthorizationThe authorization scopes supported by this route.
Optional
AuthorizationThe authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
Optional
AuthorizerThe identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.
Optional
ModelThe model selection expression for the route. Supported only for WebSocket APIs.
Optional
OperationThe operation name for the route.
Optional
RequestThe request models for the route. Supported only for WebSocket APIs.
Optional
RequestThe request parameters for the route. Supported only for WebSocket APIs.
The route key for the route.
Optional
RouteThe route response selection expression for the route. Supported only for WebSocket APIs.
Optional
TargetThe target for the route.
Creates a new Route resource to represent a route.