import { EnvironmentVariables, ServiceConfig } from 'handel-extension-api'; export interface APIGatewayConfig extends ServiceConfig { proxy?: ProxyPassthroughConfig; swagger?: string; description?: string; binary_media_types?: string[]; environment_variables?: EnvironmentVariables; vpc?: boolean; custom_domains?: CustomDomain[]; } export interface ProxyPassthroughConfig { path_to_code: string; runtime: string; handler: string; memory?: number; timeout?: number; environment_variables?: EnvironmentVariables; warmup?: WarmupConfig; } export interface WarmupConfig { schedule: string; http_paths?: string[]; } export interface CustomDomain { dns_name: string; https_certificate: string; }