import { EnvironmentVariables, ServiceConfig, ServiceEventConsumer, Tags } from 'handel-extension-api'; export interface LambdaServiceConfig extends ServiceConfig { path_to_code: string; handler: string; runtime: string; description?: string; memory?: number; timeout?: number; vpc?: boolean; environment_variables?: EnvironmentVariables; keep_warm?: LambdaServiceKeepWarmConfig; } export interface LambdaServiceKeepWarmConfig { cron: string; } export interface HandlebarsLambdaTemplate { description: string; functionName: string; s3ArtifactBucket: string; s3ArtifactKey: string; handler: string; runtime: string; memorySize: number; timeout: number; policyStatements: any[]; tags: Tags; environmentVariables?: EnvironmentVariables; vpc?: boolean; vpcSecurityGroupIds?: string[]; vpcSubnetIds?: string[]; permissionsBoundary?: string; } export interface LambdaEventSourceConfig extends ServiceEventConsumer { batch_size: number; }