OptionalapiThe path to expose on the API Gateway.
This is the URL path that clients will use to invoke the Lambda function.
OptionalapiThe HTTP method to accept on the API Gateway.
OptionalcorsCORS preflight options for the API Gateway.
Configures Cross-Origin Resource Sharing (CORS) to allow web applications running at one domain to access resources from another domain.
The existing Lambda function to integrate with the API Gateway.
This Lambda function will be invoked whenever a request is made to the API Gateway endpoint.