AWS CDK infrastructure for Cover IQ application.
- Frontend: S3 + CloudFront
- Backend: API Gateway + Lambda
- Database: RDS PostgreSQL
- Auth: Cognito User Pool
- Storage: S3 buckets
- AWS CLI configured
- Node.js 18+
- AWS CDK CLI:
npm install -g aws-cdk
npm install
npm run build# Deploy to development
cdk deploy CoverIqDev
# Deploy to production
cdk deploy CoverIqProdSet these in your deployment environment:
CDK_DEFAULT_ACCOUNT: AWS Account IDCDK_DEFAULT_REGION: AWS Region (default: us-east-1)
npm run build- compile TypeScriptnpm run watch- watch for changes and compilecdk diff- compare deployed stack with current statecdk synth- emits the synthesized CloudFormation templatecdk destroy- destroy the stack