LambdaProxyIntegration

class aws_cdk.aws_apigatewayv2_integrations.LambdaProxyIntegration(*, handler, payload_format_version=None)

Bases: object

(experimental) The Lambda Proxy integration resource for HTTP API.

Stability

experimental

Parameters
  • handler (IFunction) – (experimental) The handler for this integration.

  • payload_format_version (Optional[PayloadFormatVersion]) – (experimental) Version of the payload sent to the lambda handler. Default: PayloadFormatVersion.VERSION_2_0

Stability

experimental

Methods

bind(*, route, scope)

(experimental) (experimental) Bind this integration to the route.

Parameters
  • route (IHttpRoute) – (experimental) The route to which this is being bound.

  • scope (Construct) – (experimental) The current scope in which the bind is occurring. If the HttpRouteIntegration being bound creates additional constructs, this will be used as their parent scope.

Stability

experimental

Return type

HttpRouteIntegrationConfig