Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 11x 11x 11x 11x 11x 11x 11x 11x 11x 1x | // ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
import * as path from 'path';
import * as lambda from 'aws-cdk-lib/aws-lambda';
import { Construct } from 'constructs';
/**
* Props for EsmDeleterIsCompleteFunction
*/
export interface EsmDeleterIsCompleteFunctionProps extends lambda.FunctionOptions {
}
/**
* An AWS Lambda function which executes src/mq-esm/esm-deleter.is-complete.
*/
export class EsmDeleterIsCompleteFunction extends lambda.Function {
constructor(scope: Construct, id: string, props?: EsmDeleterIsCompleteFunctionProps) {
super(scope, id, {
description: 'src/mq-esm/esm-deleter.is-complete.lambda.ts',
...props,
runtime: new lambda.Runtime('nodejs18.x', lambda.RuntimeFamily.NODEJS),
handler: 'index.handler',
code: lambda.Code.fromAsset(path.join(__dirname, '../../assets/mq-esm/esm-deleter.is-complete.lambda')),
});
this.addEnvironment('AWS_NODEJS_CONNECTION_REUSE_ENABLED', '1', { removeInEdge: true });
}
} |