Customizing CDK Bootstrap resources
As a follow-up for my previous article, I will explain here how we can customize the resources which are created as part of CDKToolkit…
Wiki topics:
☁️ · DevOps & Cloud
Customizing CDK Bootstrap resources
As a follow-up for my previous article, I will explain here how we can customize the resources which are created as part of CDKToolkit stack.
There are two ways to achieve this:
- Use command line parameters with the
cdk bootstrapcommand to customize few resources. - Modify the cloudformation template which creates the CDKToolkit stack.
cdk bootstrap — template <custom-template-file> — toolkit-stack-name <stack-name>
Command line arguments to customize
--bootstrap-bucket-nameoverrides name of the artifact bucket--bootstrap-kms-key-idoverrides the AWS KMS key to encrypt the artifact bucket--cloudformation-execution-policiesset specific IAM policies that the CloudFormation execution role should assume during the deployment process.--bootstrap-customer-keyCreate a Customer Master Key (CMK) for the bootstrap bucket (you will be charged but can customize permissions, modern bootstrapping only).
This option is not compatible with --bootstrap-kms-key-id.
메타데이터
- post_id
- cf1b0e9eb5f0
- slug
- customizing-cdk-bootstrap-resources-cf1b0e9eb5f0
- url
- https://medium.com/@aviralaws/customizing-cdk-bootstrap-resources-cf1b0e9eb5f0
- canonical_url
- https://medium.com/@aviralaws/customizing-cdk-bootstrap-resources-cf1b0e9eb5f0
- author_url
- https://medium.com/@aviralaws
- status
- ok
- fetched_at
- 2026-06-11 21:11:36