Interface CfnRouteResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:10.648Z")
@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 class
A builder forCfnRouteResponseProps
static final class
An implementation forCfnRouteResponseProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The API identifier.- See Also:
-
getRouteId
The route ID.- 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.- See Also:
-
builder
- Returns:
- a
CfnRouteResponseProps.Builder
ofCfnRouteResponseProps
-