PayloadFormatVersion
- class aws_cdk.aws_apigatewayv2.PayloadFormatVersion(*args: Any, **kwargs)
Bases:
object
(experimental) Payload format version for lambda proxy integration.
- See:
- Stability:
experimental
- 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_apigatewayv2 as apigatewayv2 payload_format_version = apigatewayv2.PayloadFormatVersion.custom("version")
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
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: