Skip to content

Commit

Permalink
fix constructor props
Browse files Browse the repository at this point in the history
Signed-off-by: Francis <colifran@amazon.com>
  • Loading branch information
colifran committed Dec 14, 2023
1 parent e8f5a3a commit 46aa221
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Construct } from "constructs";
import * as lambda from "../../../aws-lambda";

export class TestSingletonFunction extends lambda.SingletonFunction {
public constructor(scope: Construct, id: string, props: CdkSingletonFunctionProps) {
public constructor(scope: Construct, id: string, props: TestSingletonFunctionProps) {
super(scope, id, {
...props,
"code": lambda.Code.fromAsset(path.join(__dirname, 'my-handler')),
Expand Down

0 comments on commit 46aa221

Please sign in to comment.