import { InstanceType } from 'aws-cdk-lib/aws-ec2'; export interface EtlPipelineSettings { name: string; env: string; region: string; /** * VPC will accept either a string or null. If null, we'll create a new * VPC. If you provide a string, we'll import that vpc, or error out */ vpc: string; /** * The db needs subnets defined. Provide these two. */ subnet1: string; subnet2: string; /** * Pass the ARN of a secret store */ secretsARN: string; database?: EtlDatabaseSettings; whitelistIps: string[]; } /** * The basic settings for the web database */ export interface EtlDatabaseSettings { /** * */ engine: string; /** * What port to bind to, * @default 5432 */ port?: number; /** * The name of the database */ database: string; /** * The name of the compute and memory capacity for the instance. * * @default - m5.large (or, more specifically, db.m5.large) */ instanceType: InstanceType; terminationPrevention: boolean; } export default EtlPipelineSettings;