In your lambda function you can now import Resource from "sst":
import { Resource } from "sst" console.log(Resource.App.stage)