You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CDK CLI supports specifying AWS CloudFormation [parameters](parameters.md) at deployment\. You may provide these on the command line following the `--parameters` flag\.
By default, the AWS CDK retains values of parameters from previous deployments and uses them in later deployments if they are not specified explicitly\. Use the `--no-previous-parameters` flag to require all parameters to be specified\.
If your stack declares AWS CloudFormation outputs, these are normally displayed on the screen at the conclusion of deployment\. To write them to a file in JSON format, use the `--outputs-file` flag\.
# Perform programmatic actions using the CDK Toolkit Library<aname="toolkit-library"></a>
2
+
3
+
**Note**
4
+
CDK Toolkit Library is in developer preview and is subject to change\.
5
+
6
+
## What is the CDK Toolkit Library Library?<aname="toolkit-library-intro"></a>
7
+
8
+
The AWS Cloud Development Kit \(AWS CDK\) Toolkit Library enables you to perform AWS CDK actions requiring programmatic access on AWS\. You can use the CDK Toolkit Library to implement actions such as bootstrapping, synthesizing, and deploying through code rather than CDK CLI commands\. With this library, you can create custom tools, build specialized CLI applications, and integrate CDK programmatic access capabilities into your development workflows\.
9
+
10
+
The following is an example, that installs the CDK Toolkit Library and uses it to deploy a cloud assembly of your CDK app:
11
+
12
+
```
13
+
import { Toolkit } from '@aws-cdk/toolkit-lib'; // Install the CDK Toolkit Library
14
+
15
+
const cdk = new Toolkit(); // Create a CDK Toolkit instance
0 commit comments