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

__init__(*, api_id, route_id, route_response_key, model_selection_expression=None, response_models=None, response_parameters=None)

Properties for defining a AWS::ApiGatewayV2::RouteResponse.

Parameters
  • api_id (str) – AWS::ApiGatewayV2::RouteResponse.ApiId.

  • route_id (str) – AWS::ApiGatewayV2::RouteResponse.RouteId.

  • route_response_key (str) – AWS::ApiGatewayV2::RouteResponse.RouteResponseKey.

  • model_selection_expression (Optional[str]) – AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression.

  • response_models (Optional[Any]) – AWS::ApiGatewayV2::RouteResponse.ResponseModels.

  • response_parameters (Optional[Any]) – AWS::ApiGatewayV2::RouteResponse.ResponseParameters.

deprecated :deprecated: moved to package aws-apigatewayv2

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html stability :stability: deprecated

Return type

None

Attributes

api_id

AWS::ApiGatewayV2::RouteResponse.ApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-apiid stability :stability: deprecated

Return type

str

model_selection_expression

AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-modelselectionexpression stability :stability: deprecated

Return type

Optional[str]

response_models

AWS::ApiGatewayV2::RouteResponse.ResponseModels.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-responsemodels stability :stability: deprecated

Return type

Any

response_parameters

AWS::ApiGatewayV2::RouteResponse.ResponseParameters.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-responseparameters stability :stability: deprecated

Return type

Any

route_id

AWS::ApiGatewayV2::RouteResponse.RouteId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-routeid stability :stability: deprecated

Return type

str

route_response_key

AWS::ApiGatewayV2::RouteResponse.RouteResponseKey.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-routeresponsekey stability :stability: deprecated

Return type

str