in transcribe-ui-backend/provisioning/lib/construct/lambda-function.ts [11:27]
constructor(scope: cdk.Construct, id: string, props: LambdaFunctionProps) {
const defaultProps: lambdaNodejs.NodejsFunctionProps = {
runtime: lambda.Runtime.NODEJS_14_X,
handler: 'handler',
timeout: cdk.Duration.minutes(15),
bundling: {
nodeModules: props.modules
}
}
const functionProps: lambdaNodejs.NodejsFunctionProps = {
...defaultProps,
...props
}
super(scope, id, functionProps)
}