CfnRouteResponseV2Props
- class aws_cdk.aws_apigateway.CfnRouteResponseV2Props(*, api_id, route_id, route_response_key, model_selection_expression=None, response_models=None, response_parameters=None)
Bases:
object
(deprecated) Properties for defining a
AWS::ApiGatewayV2::RouteResponse
.- Parameters:
api_id (
str
) – (deprecated)AWS::ApiGatewayV2::RouteResponse.ApiId
.route_id (
str
) – (deprecated)AWS::ApiGatewayV2::RouteResponse.RouteId
.route_response_key (
str
) – (deprecated)AWS::ApiGatewayV2::RouteResponse.RouteResponseKey
.model_selection_expression (
Optional
[str
]) – (deprecated)AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression
.response_models (
Optional
[Any
]) – (deprecated)AWS::ApiGatewayV2::RouteResponse.ResponseModels
.response_parameters (
Optional
[Any
]) – (deprecated)AWS::ApiGatewayV2::RouteResponse.ResponseParameters
.
- Deprecated:
moved to package aws-apigatewayv2
- See:
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigateway as apigateway # response_models: Any # response_parameters: Any cfn_route_response_v2_props = apigateway.CfnRouteResponseV2Props( api_id="apiId", route_id="routeId", route_response_key="routeResponseKey", # the properties below are optional model_selection_expression="modelSelectionExpression", response_models=response_models, response_parameters=response_parameters )
Attributes
- api_id
(deprecated)
AWS::ApiGatewayV2::RouteResponse.ApiId
.
- model_selection_expression
(deprecated)
AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression
.
- response_models
(deprecated)
AWS::ApiGatewayV2::RouteResponse.ResponseModels
.
- response_parameters
(deprecated)
AWS::ApiGatewayV2::RouteResponse.ResponseParameters
.
- route_id
(deprecated)
AWS::ApiGatewayV2::RouteResponse.RouteId
.
- route_response_key
(deprecated)
AWS::ApiGatewayV2::RouteResponse.RouteResponseKey
.