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.

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

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

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

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

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

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

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

Return type

str