API target props.
Optional
Whether an apiKey is required for this method.
The [[HttpMethod]] for the target (e.g. GET, POST, PUT).
HttpMethod
The Lambda function responsible for handling the request.
The path for the request (e.g. /test).
API target props.