Open History to see the last commit
1import * as AWS from "@alchemy.run/aws";
2import * as Alchemy from "alchemy";
3import * as Effect from "effect/Effect";
4import ServiceFunction from "./src/ServiceFunction.ts";
5
6const aws = AWS.providers();
7
8export default Alchemy.Stack(
9 "AwsRdsExample",
10 { providers: aws, state: Alchemy.localState() },
11 Effect.gen(function* () {
12 const service = yield* ServiceFunction;
13 return {
14 url: service.functionUrl,
15 };
16 }),
17);