@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.289Z") @Stability(value=Stable) public interface CfnRouteResponseProps extends software.amazon.jsii.JsiiSerializable
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;
Object responseParameters;
CfnRouteResponseProps cfnRouteResponseProps = CfnRouteResponseProps.builder()
.apiId("apiId")
.routeId("routeId")
.routeResponseKey("routeResponseKey")
// the properties below are optional
.modelSelectionExpression("modelSelectionExpression")
.responseModels(responseModels)
.responseParameters(responseParameters)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRouteResponseProps.Builder
A builder for
CfnRouteResponseProps |
static class |
CfnRouteResponseProps.Jsii$Proxy
An implementation for
CfnRouteResponseProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRouteResponseProps.Builder |
builder() |
String |
getApiId()
The API identifier.
|
default String |
getModelSelectionExpression()
The model selection expression for the route response.
|
default Object |
getResponseModels()
The response models for the route response.
|
default Object |
getResponseParameters()
The route response parameters.
|
String |
getRouteId()
The route ID.
|
String |
getRouteResponseKey()
The route response key.
|
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @NotNull String getRouteId()
@Stability(value=Stable) @NotNull String getRouteResponseKey()
@Stability(value=Stable) @Nullable default String getModelSelectionExpression()
Supported only for WebSocket APIs.
@Stability(value=Stable) @Nullable default Object getResponseModels()
@Stability(value=Stable) @Nullable default Object getResponseParameters()
@Stability(value=Stable) static CfnRouteResponseProps.Builder builder()
CfnRouteResponseProps.Builder of CfnRouteResponsePropsCopyright © 2022. All rights reserved.