Skip to content

Commit 4b8b9e6

Browse files
author
Zvika Badalov
committed
change from AssetCode to Code
1 parent 7bc0202 commit 4b8b9e6

File tree

1 file changed

+1
-1
lines changed
  • typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline

1 file changed

+1
-1
lines changed

typescript/elasticbeanstalk/elasticbeanstalk-bg-pipeline/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class CdkStack extends cdk.Stack {
2020

2121
const handler = new lambda.Function(this, 'BlueGreenLambda', {
2222
runtime: lambda.Runtime.PYTHON_3_6,
23-
code: lambda.AssetCode.asset('resources'),
23+
code: lambda.Code.asset('resources'),
2424
handler: 'blue_green.lambda_handler',
2525
environment: {
2626
BUCKET: bucket.bucketName

0 commit comments

Comments
 (0)