RouteResponseArgs

data class RouteResponseArgs(val apiId: Output<String>? = null, val modelSelectionExpression: Output<String>? = null, val responseModels: Output<Any>? = null, val responseParameters: Output<Map<String, RouteResponseParameterConstraintsArgs>>? = null, val routeId: Output<String>? = null, val routeResponseKey: Output<String>? = null) : ConvertibleToJava<RouteResponseArgs>

The `AWS::ApiGatewayV2::RouteResponse` resource creates a route response for a WebSocket API. For more information, see Set up Route Responses for a WebSocket API in API Gateway in the API Gateway Developer Guide.

Constructors

Link copied to clipboard
constructor(apiId: Output<String>? = null, modelSelectionExpression: Output<String>? = null, responseModels: Output<Any>? = null, responseParameters: Output<Map<String, RouteResponseParameterConstraintsArgs>>? = null, routeId: Output<String>? = null, routeResponseKey: Output<String>? = null)

Properties

Link copied to clipboard
val apiId: Output<String>? = null

The API identifier.

Link copied to clipboard
val modelSelectionExpression: Output<String>? = null

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

Link copied to clipboard
val responseModels: Output<Any>? = null

The response models for the route response. Search the CloudFormation User Guide for AWS::ApiGatewayV2::RouteResponse for more information about the expected schema for this property.

Link copied to clipboard

The route response parameters.

Link copied to clipboard
val routeId: Output<String>? = null

The route ID.

Link copied to clipboard
val routeResponseKey: Output<String>? = null

The route response key.

Functions

Link copied to clipboard
open override fun toJava(): RouteResponseArgs