import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs';
export class SpaceStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps) {
super(scope, id, props);
const helloLambda = new NodejsFunction(this, 'helloLambda', {
entry: join(__dirname, '..', 'services', 'node-lambda', 'hello.ts'),
handler: 'handler',
});
}
}