import * as sst from "@serverless-stack/resources" ; export class MyStack extends sst . Stack { constructor ( scope , props ? ) { super ( scope , "MyStack" , props ) ; new sst . Function ( this , "Func" , { handler : "services/sample/index.handler" , } ) ; } }