Defines a Lambda function url.
import { FunctionUrl } from 'aws-cdk-lib/aws-lambda';Or use the module namespace:
import * as lambda from 'aws-cdk-lib/aws-lambda';
// lambda.FunctionUrlConfiguration passed to the constructor as FunctionUrlProps.
functionRequiredIFunctionThe function to which this url refers. It can also be an `Alias` but not a `Version`.
FunctionUrlOptionsauthTypeOptionalinherited from FunctionUrlOptionsFunctionUrlAuthTypeThe type of authentication that your function URL uses.
Default: FunctionUrlAuthType.AWS_IAM
corsOptionalinherited from FunctionUrlOptionsFunctionUrlCorsOptionsThe cross-origin resource sharing (CORS) settings for your function URL.
Default: - No CORS configuration.
invokeModeOptionalinherited from FunctionUrlOptionsInvokeModeThe type of invocation mode that your Lambda function uses.
Default: InvokeMode.BUFFERED
Everything you need to know about AWS Lambda on one page. HD quality, print-friendly.
Download Free Infographicaws-lambda