| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
AWS CDK Builder is a browser-based tool designed to streamline bootstrapping of Infrastructure as Code (IaC) projects using the AWS Cloud Development Kit (CDK). Equipped with a dynamic visual designer and instant TypeScript code generation capabilities, the CDK Builder simplifies the construction and deployment of CDK projects. It stands as a resource for all CDK users, providing a platform to explore a broad array of CDK constructs.
You do not need to deploy the AWS CDK Builder to use it; an online version is available.
https://aws-samples.github.io/aws-cdk-stack-builder-tool
But if you wish to deploy it on your own account, here is a step-by-step guide.
Verify that your environment satisfies the following prerequisites:
You have:
nvm install 18 && nvm use 18
git clone https://github.com/aws-samples/aws-cdk-stack-builder-toolcd aws-cdk-stack-builder-tool3. Install the project dependencies by running this command
npm installNote: This is required if you have never used AWS CDK on this account and region combination. (More information on CDK bootstrapping).
npx cdk bootstrap aws://{targetAccountId}/{targetRegion}You can now deploy by running:
npx cdk deployYou can view the progress of your CDK deployment in the CloudFormation console in the selected region.
...
Outputs:
cdk-builder.DomainName = https://dxxxxxxxxxxxxx.cloudfront.net
...You can remove the stacks and all the associated resources created in your AWS account by running the following command:
npx cdk destroyAWS CDK Builder is a serverless static website application, created using React and TypeScript.
If there are constructs which are not in the public npm js registry, they can be added as follows:
npm pack <your-package> --pack-destination ./src/react-app/public/constructsopen ./src/react-app/src/blueprints/cdk-blank.tslibs: {
"@aws-cdk/aws-amplify-alpha": "2.x",
...
"@aws-cdk/region-info": "2.x",
"my-cool-lib-1.2.3.tgz": "local" // <-- This is the line to add, use filename as found in ./src/react-app/src/public/constructs as the key, and "local" as the value
},Now when a project is created using the modified blueprint, it will have access to the private constructs.
This library is licensed under the MIT-0 License. See the LICENSE file.
| Back | FazBrowse Home | New Git URL |