@@ -66,22 +66,22 @@ export class BackendStack extends Stack {
6666 layerVersionName : `${ Stack . of ( this ) . stackName } -baseLayer` ,
6767 code : new LambdaSource ( this , {
6868 id : 'baseLayer' ,
69- zipFile : layer . layerZipFile ,
69+ zipFilePath : layer . layerZipFilePath ,
7070 hash : layer . hash ,
7171 } ) . code ,
7272 compatibleArchitectures : [ Lambda . Architecture . ARM_64 ] ,
73- compatibleRuntimes : [ Lambda . Runtime . NODEJS_20_X ] ,
73+ compatibleRuntimes : [ Lambda . Runtime . NODEJS_22_X ] ,
7474 } )
7575
7676 const jwtLayerVersion = new Lambda . LayerVersion ( this , 'jwtLayer' , {
7777 layerVersionName : `${ Stack . of ( this ) . stackName } -jwtLayer` ,
7878 code : new LambdaSource ( this , {
7979 id : 'jwtLayer' ,
80- zipFile : jwtLayer . layerZipFile ,
80+ zipFilePath : jwtLayer . layerZipFilePath ,
8181 hash : jwtLayer . hash ,
8282 } ) . code ,
8383 compatibleArchitectures : [ Lambda . Architecture . ARM_64 ] ,
84- compatibleRuntimes : [ Lambda . Runtime . NODEJS_20_X ] ,
84+ compatibleRuntimes : [ Lambda . Runtime . NODEJS_22_X ] ,
8585 } )
8686
8787 const publicDevices = new PublicDevices ( this )
@@ -112,11 +112,11 @@ export class BackendStack extends Stack {
112112 const cdkLayerVersion = new Lambda . LayerVersion ( this , 'cdkLayer' , {
113113 code : new LambdaSource ( this , {
114114 id : 'cdkLayer' ,
115- zipFile : cdkLayer . layerZipFile ,
115+ zipFilePath : cdkLayer . layerZipFilePath ,
116116 hash : cdkLayer . hash ,
117117 } ) . code ,
118118 compatibleArchitectures : [ Lambda . Architecture . ARM_64 ] ,
119- compatibleRuntimes : [ Lambda . Runtime . NODEJS_20_X ] ,
119+ compatibleRuntimes : [ Lambda . Runtime . NODEJS_22_X ] ,
120120 } )
121121 const domain = new CustomDomain ( this , {
122122 api,
0 commit comments