@convo-lang/convo-lang-aws-cdk
Version:
The language of AI
24 lines (23 loc) • 895 B
TypeScript
import { FnsBuilder, ManagedProps, NodeFn, NodeFnProps } from '@iyio/cdk-common';
import { Construct } from 'constructs';
export interface ConvoLangConstructOptions {
managed?: ManagedProps;
defaultFnProps?: NodeFnProps;
fnName?: string;
grantAccess?: boolean;
/**
* Anonymous price cap. If defined anonymous users will be able to invoke the completion lambda
* with the given cap. Users are tracked by IP.
*/
anonUsdCap?: number;
/**
* Anonymous price cap for all users combined
*/
anonUsdCapTotal?: number;
handleQuotas?: boolean;
}
export declare class ConvoLangConstruct extends Construct {
readonly handlerFn: NodeFn;
readonly fnBuilder: FnsBuilder;
constructor(scope: Construct, id: string, { managed, defaultFnProps, fnName, anonUsdCap, anonUsdCapTotal, grantAccess, handleQuotas, }?: ConvoLangConstructOptions);
}