import * as Config from "effect/Config";
import * as Layer from "effect/Layer";
import * as Context from "effect/Context";
export class Region extends Context.Service()("AWS::Region") {
}
export const fromEnv = () => Layer.effect(Region, Config.string("AWS_REGION").pipe(Config.orElse(() => Config.string("AWS_DEFAULT_REGION"))));
//# sourceMappingURL=region.js.map