@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
15 lines (14 loc) • 770 B
TypeScript
import { Construct } from "constructs";
import * as lambda from "aws-cdk-lib/aws-lambda";
export interface AppFunctionProps extends Omit<lambda.FunctionProps, "code" | "runtime" | "handler"> {
/** Directory name under the package's assets/ — a prebuilt bundle produced
* by scripts/bundle-lambdas.mjs (prepack runs it at publish time). */
readonly asset: string;
/** Exported name inside the bundle's index.js (default "handler"). */
readonly handler?: string;
}
/** Node Lambda over PREBUILT bundles — identical bytes wherever the synth
* runs. Extends lambda.Function so the CFN logical ids never moved. */
export declare class AppFunction extends lambda.Function {
constructor(scope: Construct, id: string, props: AppFunctionProps);
}