import * as sst from "@serverless-stack/resources" ; import * as lambda from "@aws-cdk/aws-lambda" ; import { MyStack } from "./MyStack" ; export default function main ( app ) { app . setDefaultFunctionProps ( { srcPath : "backend" , runtime : lambda . Runtime . NODEJS_14_X , } ) ; new MyStack ( app ) ; }