OpenApiGatewayToLambda

This construct implements an API Gateway REST API defined by an OpenAPI specification file connected to an AWS Lambda function.

This construct automatically transforms an OpenAPI Definition (residing locally or in S3) into API gateway endpoints and connects them to the backing Lambda function via the x-amazon-apigateway-integration extension.

Property nameTypeDescription
apiDefinitionAssetAssetLocal OpenAPI spec file.
apiIntegrationsApiIntegration[]One or more ApiIntegration instances that reference an existing lambda function

References