Interface CfnRouteResponseMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRouteResponseMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.536Z")
@Stability(Stable)
public interface CfnRouteResponseMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRouteResponsePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.*;
Object responseModels;
CfnRouteResponseMixinProps cfnRouteResponseMixinProps = CfnRouteResponseMixinProps.builder()
.apiId("apiId")
.modelSelectionExpression("modelSelectionExpression")
.responseModels(responseModels)
.responseParameters(Map.of(
"responseParametersKey", ParameterConstraintsProperty.builder()
.required(false)
.build()))
.routeId("routeId")
.routeResponseKey("routeResponseKey")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRouteResponseMixinPropsstatic final classAn implementation forCfnRouteResponseMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetApiId()The API identifier.default StringThe model selection expression for the route response.default ObjectThe response models for the route response.default ObjectThe route response parameters.default ObjectThe route ID.default StringThe route response key.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
- 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, eitherIResolvableorCfnRouteResponsePropsMixin.ParameterConstraintsProperty>- See Also:
-
getRouteId
- See Also:
-
getRouteResponseKey
The route response key.- See Also:
-
builder
- Returns:
- a
CfnRouteResponseMixinProps.BuilderofCfnRouteResponseMixinProps
-