PayloadFormatVersion

class aws_cdk.aws_apigatewayv2.PayloadFormatVersion(*args: Any, **kwargs)

Bases: object

(experimental) Payload format version for lambda proxy integration.

See

https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

Stability

experimental

Attributes

VERSION_1_0 = <aws_cdk.aws_apigatewayv2.PayloadFormatVersion object>
VERSION_2_0 = <aws_cdk.aws_apigatewayv2.PayloadFormatVersion object>
version

(experimental) version as a string.

Stability

experimental

Return type

str

Static Methods

classmethod custom(version)

(experimental) A custom payload version.

Typically used if there is a version number that the CDK doesn’t support yet

Parameters

version (str) –

Stability

experimental

Return type

PayloadFormatVersion