Module: AWSCDK::APIGatewayv2::PassthroughBehavior

Defined in:
api_gatewayv2/passthrough_behavior.rb

Overview

Integration Passthrough Behavior.

Constant Summary collapse

WHEN_NO_MATCH =
Deprecated.
Note:

Default:

Passes the request body for unmapped content types through to the integration back end without transformation.

Jsii::Enum.new("aws-cdk-lib.aws_apigatewayv2.PassthroughBehavior", "WHEN_NO_MATCH")
NEVER =
Deprecated.
Note:

Default:

Rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response.

Jsii::Enum.new("aws-cdk-lib.aws_apigatewayv2.PassthroughBehavior", "NEVER")
WHEN_NO_TEMPLATES =
Deprecated.
Note:

Default:

Allows pass-through when the integration has NO content types mapped to templates.

However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response.

Jsii::Enum.new("aws-cdk-lib.aws_apigatewayv2.PassthroughBehavior", "WHEN_NO_TEMPLATES")