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

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

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.

See

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

Stability

deprecated

Return type

str

model_selection_expression

(deprecated) AWS::ApiGatewayV2::RouteResponse.ModelSelectionExpression.

See

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

Stability

deprecated

Return type

Optional[str]

response_models

(deprecated) AWS::ApiGatewayV2::RouteResponse.ResponseModels.

See

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

Stability

deprecated

Return type

Any

response_parameters

(deprecated) AWS::ApiGatewayV2::RouteResponse.ResponseParameters.

See

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

Stability

deprecated

Return type

Any

route_id

(deprecated) AWS::ApiGatewayV2::RouteResponse.RouteId.

See

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

Stability

deprecated

Return type

str

route_response_key

(deprecated) AWS::ApiGatewayV2::RouteResponse.RouteResponseKey.

See

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

Stability

deprecated

Return type

str