Interface CfnRouteResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.227Z")
@Stability(Stable)
public interface CfnRouteResponseProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRouteResponse.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
Object responseModels;
CfnRouteResponseProps cfnRouteResponseProps = CfnRouteResponseProps.builder()
.apiId("apiId")
.routeId("routeId")
.routeResponseKey("routeResponseKey")
// the properties below are optional
.modelSelectionExpression("modelSelectionExpression")
.responseModels(responseModels)
.responseParameters(Map.of(
"responseParametersKey", ParameterConstraintsProperty.builder()
.required(false)
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRouteResponsePropsstatic final classAn implementation forCfnRouteResponseProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The API identifier. -
getRouteId
The route ID. -
getRouteResponseKey
The route response key. -
getModelSelectionExpression
The model selection expression for the route response.Supported only for WebSocket APIs.
-
getResponseModels
The response models for the route response. -
getResponseParameters
The route response parameters. -
builder
- Returns:
- a
CfnRouteResponseProps.BuilderofCfnRouteResponseProps
-