Interface CfnRouteResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:13.834Z")
@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();
- See Also:
-
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
- See Also:
-
getRouteId
- See Also:
-
getRouteResponseKey
The route response key.- See Also:
-
getModelSelectionExpression
The model selection expression for the route response.Supported only for WebSocket APIs.
- See Also:
-
getResponseModels
The response models for the route response.- See Also:
-
getResponseParameters
The route response parameters.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnRouteResponse.ParameterConstraintsProperty>- See Also:
-
builder
- Returns:
- a
CfnRouteResponseProps.BuilderofCfnRouteResponseProps
-