mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 20:31:16 +02:00
17 lines
433 B
TypeScript
17 lines
433 B
TypeScript
import * as Alchemy from "alchemy";
|
|
import * as AWS from "alchemy/AWS";
|
|
import * as Effect from "effect/Effect";
|
|
import ServiceFunction from "./src/ServiceFunction.ts";
|
|
|
|
const aws = AWS.providers();
|
|
|
|
export default Alchemy.Stack(
|
|
"AwsRdsExample",
|
|
{ providers: aws, state: Alchemy.localState() },
|
|
Effect.gen(function* () {
|
|
const service = yield* ServiceFunction;
|
|
return {
|
|
url: service.functionUrl,
|
|
};
|
|
}),
|
|
);
|