Skip to content

CDK Overview

CloudFront Hosting Toolkit offers two primary methods for integration with AWS CDK (Cloud Development Kit):

  1. CDK Construct: Use the CloudFront Hosting Toolkit as a pre-built construct in your existing CDK project. This method is ideal if you want to quickly integrate the toolkit’s functionality without modifying its core logic.

  2. CDK Source Code: Clone the CloudFront Hosting Toolkit repository, modify the source code as needed, and deploy it as a standalone CDK project. This approach offers maximum flexibility and customization.

Both methods require some common setup steps, which are detailed in our CDK Configuration Guide.

Choose the method that best fits your project’s needs and level of customization required: