This repository contains Python CDK stacks for various AWS services such as ACM, S3, CloudFront.
This stack creates ACM certificates for a given domain name.
account_id
: AWS account ID.domain_name
: The domain name for the certificates.
- Creates an ACM certificate for the main domain.
- Associates the certificates with a Route53 hosted zone.
This stack creates an S3 bucket that serves as a backup for the game.
- Creates an S3 bucket with specific configurations.
This stack sets up the infrastructure for the game, including S3 buckets, CloudFront distributions, and API Gateway.
account_id
: AWS account ID.region
: AWS region.domain_name
: The domain name for the game.source_file_path
: The path to the source files for the game.environment
: The environment (e.g., dev, prod).certificate
: The ACM certificate for the game.contact_form_certificate
: The ACM certificate for the contact form.backup_bucket
: The backup S3 bucket.
- Creates an S3 bucket for the game.
- Sets up a CloudFront distribution for the game.
- Sets up an API Gateway and Lambda function for the contact form.
- Creates a CloudFront distribution for the contact form API.
- Deploys game files to the S3 bucket.
- Deploys backup game files to the backup S3 bucket.