This repository contains CDK-based infrastructure and pipeline automation to support an AI-powered advertising compliance system.
cdk-aws-setup/– Sets up AWS services: S3, IAM Roles, Rekognition, Transcribe.cdk-pipeline/– Orchestrates Lambda functions and Step Functions for processing.
Install required tools:
# Node.js for AWS CDK
brew install node
# Python virtual environment
python -m venv .venv
source .venv/bin/activate
pip install -r cdk-aws-setup/requirements.txt
pip install -r cdk-pipeline/requirements.txt
# AWS CLI
brew install awscli
aws configure
# CDK Bootstrap (first-time setup)
# You must bootstrap the environment once per AWS account/region:
cd cdk-aws-setup
cdk bootstrap aws://<account-id>/<region>
# Deploy AWS Resources
# Setup core infrastructure - this will deploy S3 buckets, IAM roles, Rekognition, etc.
cdk deploy
# Deploy processing pipeline
cd ../cdk-pipeline
cdk deploy
# Validate Setup
python aws_service_validation.py- Python 3.10+
- AWS CLI
- CDK v2
- Node.js 16+