Route Args
data class RouteArgs(val apiId: Output<String>? = null, val apiKeyRequired: Output<Boolean>? = null, val authorizationScopes: Output<List<String>>? = null, val authorizationType: Output<String>? = null, val authorizerId: Output<String>? = null, val modelSelectionExpression: Output<String>? = null, val operationName: Output<String>? = null, val requestModels: Output<Any>? = null, val requestParameters: Output<Any>? = null, val routeKey: Output<String>? = null, val routeResponseSelectionExpression: Output<String>? = null, val target: Output<String>? = null) : ConvertibleToJava<RouteArgs>
The `AWS::ApiGatewayV2::Route`
resource creates a route for an API.
Constructors
Link copied to clipboard
fun RouteArgs(apiId: Output<String>? = null, apiKeyRequired: Output<Boolean>? = null, authorizationScopes: Output<List<String>>? = null, authorizationType: Output<String>? = null, authorizerId: Output<String>? = null, modelSelectionExpression: Output<String>? = null, operationName: Output<String>? = null, requestModels: Output<Any>? = null, requestParameters: Output<Any>? = null, routeKey: Output<String>? = null, routeResponseSelectionExpression: Output<String>? = null, target: Output<String>? = null)
Functions
Properties
Link copied to clipboard
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.
Link copied to clipboard