aws.apigatewayv2.get_route
Example SQL Queries
SELECT * FROMaws.apigatewayv2.get_routeWHERE"api_id" = 'VALUE'AND "route_id" = 'VALUE';Description
Gets a Route.
Table Definition
| Column Name | Column Data Type |
|---|---|
| api_id Required Input Column The API identifier. | VARCHAR |
| route_id Required Input Column The route ID. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| api_gateway_managed Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key. | BOOLEAN |
| api_key_required Specifies whether an API key is required for this route. Supported only for WebSocket APIs. | BOOLEAN |
| authorization_scopes A list of authorization scopes configured on a route. The scopes are used with a JWT authorizer to authorize the method invocation. The authorization works by matching the route scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any route scope matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the route scope is configured, the client must provide an access token instead of an identity token for authorization purposes. | VARCHAR[] |
Show child fields
| |
| authorization_type The 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. | VARCHAR |
| authorizer_id The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer. | VARCHAR |
| model_selection_expression The model selection expression for the route. Supported only for WebSocket APIs. | VARCHAR |
| operation_name The operation name for the route. | VARCHAR |
| request_models The request models for the route. Supported only for WebSocket APIs. | MAP(VARCHAR, VARCHAR) |
| request_parameters The request parameters for the route. Supported only for WebSocket APIs. | MAP(VARCHAR, STRUCT( |
| route_key The route key for the route. | VARCHAR |
| route_response_selection_expression The route response selection expression for the route. Supported only for WebSocket APIs. | VARCHAR |
| target The target for the route. | VARCHAR |