interface CfnRouteResponseV2Props
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APIGateway.CfnRouteResponseV2Props |
![]() | software.amazon.awscdk.services.apigateway.CfnRouteResponseV2Props |
![]() | aws_cdk.aws_apigateway.CfnRouteResponseV2Props |
![]() | @aws-cdk/aws-apigateway » CfnRouteResponseV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::RouteResponse
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
declare const responseModels: any;
declare const responseParameters: any;
const cfnRouteResponseV2Props: apigateway.CfnRouteResponseV2Props = {
apiId: 'apiId',
routeId: 'routeId',
routeResponseKey: 'routeResponseKey',
// the properties below are optional
modelSelectionExpression: 'modelSelectionExpression',
responseModels: responseModels,
responseParameters: responseParameters,
};
Properties
Name | Type | Description |
---|---|---|
api | string | AWS::ApiGatewayV2::RouteResponse.ApiId . |
route | string | AWS::ApiGatewayV2::RouteResponse.RouteId . |
route | string | AWS::ApiGatewayV2::RouteResponse.RouteResponseKey . |
model | string | AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression . |
response | any | AWS::ApiGatewayV2::RouteResponse.ResponseModels . |
response | any | AWS::ApiGatewayV2::RouteResponse.ResponseParameters . |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::RouteResponse.ApiId
.
routeId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::RouteResponse.RouteId
.
routeResponseKey
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::RouteResponse.RouteResponseKey
.
modelSelectionExpression?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression
.
responseModels?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::RouteResponse.ResponseModels
.
responseParameters?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::RouteResponse.ResponseParameters
.