PassthroughBehavior¶
-
class
aws_cdk.aws_apigateway.
PassthroughBehavior
(value)¶ Bases:
enum.Enum
An enumeration.
Attributes
-
NEVER
¶ Rejects unmapped content types with an HTTP 415 ‘Unsupported Media Type’ response.
-
WHEN_NO_MATCH
¶ Passes the request body for unmapped content types through to the integration back end without transformation.
-
WHEN_NO_TEMPLATES
¶ 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.
-