my-aws-cdk-examples
my-aws-cdk-examples copied to clipboard
A collection of AWS CDK Python examples with architecture diagrams for frequently used AWS services
AWS CDK Python Examples
This repository contains a set of example projects for the AWS Cloud Development Kit
| Example | Description | Tags |
|---|---|---|
| api-gateway/cognito-api-lambda | api-gateway, cognito, lambda | |
| api-gateway/dynamodb | api-gateway, dynamodb | |
| api-gateway/dynamodb-cognito | api-gateway, cognito, dynamodb | |
| api-gateway/kds-proxy | api-gateway, kinesis data streams | |
| api-gateway/kds-proxy-cognito | api-gateway, cognito, kinesis data streams | |
| athena | athena (named query, work group), s3 | |
| batch/batch-with-ec2 | Launch AWS Batch | aws batch |
| cloudfront/static-site | cloudfront | |
| dms/aurora_mysql-to-kinesis | dms, mysql, kinesis | |
| dms/aurora_mysql-to-s3 | dms, mysql, s3 | |
| documentdb | secerts manager, sagemaker, documentdb | |
| dynamodb | dynamodb | |
| ec2/vpc | vpc | |
| ec2/import-existing-vpc | vpc | |
| ec2/jenkins-on-ec2 | jenkins, ec2 | |
| elasticache/redis | redis, redis-cluster | |
| elasticsearch | elasticsearch | |
| opensearch/cfn-domain | opensearch created with cdk.aws_opensearch.CfnDomain construct | |
| opensearch/domain | opensearch created with cdk.aws_opensearch.Domain construct | |
| emr | Launch an Amazon EMR cluster | emr, Hive, Spark, JupyterHub, Hudi, Iceberg |
| emr-studio | Launch an Amazon EMR Studio | emr studio |
| glue/cdc-parquet-to-apache-iceberg | aws glue, Apache Iceberg, Parquet | |
| kinesis-data-firehose/data-transform | kinesis firehose, lambda, s3, schema-validation | |
| kinesis-data-firehose/dynamic-partitioning/inline | kinesis firehose, s3, dynamic-partitioning, jq | |
| kinesis-data-firehose/dynamic-partitioning/lambda | kinesis firehose, s3, dynamic-partitioning, lambda | |
| kinesis-data-firehose/ekk-stack | kinesis firehose, s3, Elasticsearch, bastion host | |
| kinesis-data-firehose/opskk-stack | kinesis firehose, s3, OpenSearch, bastion host | |
| kinesis-data-streams/to-kinesis-data-firehose | kinesis data streams, kinesis firehose, s3 | |
| lambda/async-invoke | lambda, sns, event-bridge | |
| memorydb-for-redis | memorydb | |
| msk | msk(kafka) | |
| mwaa(airflow) | mwaa(airflow) | |
| neptune | sagemaker, neptune | |
| rds/aurora_mysql | aurora mysql, secrets manager | |
| rds/aurora_postgresql | aurora postgresql, secrets manager | |
| rds/rds_proxy-aurora_mysql | rds-proxy, aurora mysql, secrets manager | |
| rds/sagemaker-aurora_mysql | rds-proxy, aurora mysql, secrets manager, sagemaker | |
| sagemaker/notebook | Launch an Amazon SageMaker Notebook Instance | sagemaker notebook instance |
| sagemaker/studio | Launch an Amazon SageMaker Studio | sagemaker studio |
Enjoy!
Useful commands
npm install -g aws-cdkInstall the AWS CDK Toolkit (thecdkcommand).npm install -g aws-cdk@latestInstall the latest AWS CDK Toolkit (thecdkcommand).cdk init app --language pythonCreate a new, empty CDK Python project.cdk bootstrap --profile <AWS Profile>Deploys the CDK Toolkit staging stack; see Bootstrapping