interface CfnRouteResponseMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApiGatewayV2.CfnRouteResponseMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapigatewayv2#CfnRouteResponseMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnRouteResponseMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_apigatewayv2.CfnRouteResponseMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_apigatewayv2 » CfnRouteResponseMixinProps |
Properties for CfnRouteResponsePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from '@aws-cdk/cfn-property-mixins';
declare const responseModels: any;
const cfnRouteResponseMixinProps: apigatewayv2.CfnRouteResponseMixinProps = {
apiId: 'apiId',
modelSelectionExpression: 'modelSelectionExpression',
responseModels: responseModels,
responseParameters: {
responseParametersKey: {
required: false,
},
},
routeId: 'routeId',
routeResponseKey: 'routeResponseKey',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | IApi | The API identifier. |
| model | string | The model selection expression for the route response. |
| response | any | The response models for the route response. |
| response | IResolvable | { [string]: IResolvable | Parameter } | The route response parameters. |
| route | string | IRoute | The route ID. |
| route | string | The route response key. |
apiId?
Type:
string | IApi
(optional)
The API identifier.
modelSelectionExpression?
Type:
string
(optional)
The model selection expression for the route response.
Supported only for WebSocket APIs.
responseModels?
Type:
any
(optional)
The response models for the route response.
responseParameters?
Type:
IResolvable | { [string]: IResolvable | Parameter }
(optional)
The route response parameters.
routeId?
Type:
string | IRoute
(optional)
The route ID.
routeResponseKey?
Type:
string
(optional)
The route response key.

.NET
Go
Java
Python
TypeScript