1import * as Alchemy from "alchemy";
2import * as AWS from "alchemy/AWS";
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);