constructor()

in src/detect-drift-function.ts [16:24]


  constructor(scope: Construct, id: string, props?: DetectDriftFunctionProps) {
    super(scope, id, {
      description: 'src/detect-drift.lambda.ts',
      ...props,
      runtime: lambda.Runtime.NODEJS_14_X,
      handler: 'index.handler',
      code: lambda.Code.fromAsset(path.join(__dirname, '../assets/detect-drift.lambda')),
    });
  }