Route

class Route : KotlinCustomResource

The `AWS::ApiGatewayV2::Route` resource creates a route for an API.

Properties

Link copied to clipboard
val apiId: Output<String>

The API identifier.

Link copied to clipboard
val apiKeyRequired: Output<Boolean>?

Specifies whether an API key is required for the route. Supported only for WebSocket APIs.

Link copied to clipboard

The authorization scopes supported by this route.

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
val authorizerId: Output<String>?

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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The model selection expression for the route. Supported only for WebSocket APIs.

Link copied to clipboard
val operationName: Output<String>?

The operation name for the route.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requestModels: Output<Any>?

The request models for the route. Supported only for WebSocket APIs. Search the CloudFormation User Guide for AWS::ApiGatewayV2::Route for more information about the expected schema for this property.

Link copied to clipboard

The request parameters for the route. Supported only for WebSocket APIs.

Link copied to clipboard
val routeId: Output<String>

The route ID.

Link copied to clipboard
val routeKey: Output<String>

The route key for the route. For HTTP APIs, the route key can be either `$default`, or a combination of an HTTP method and resource path, for example, `GET /pets`.

Link copied to clipboard

The route response selection expression for the route. Supported only for WebSocket APIs.

Link copied to clipboard
val target: Output<String>?

The target for the route.

Link copied to clipboard
val urn: Output<String>