Frequent AWS CDK CLI Instructions


The AWS Cloud Growth Package (CDK) comes with quite a few CLI instructions.

<th class="has-text-align-left" data-align="left">
  <sturdy>Perform</sturdy>
</th>
<td class="has-text-align-left" data-align="left">
  Lists the stacks within the software
</td>
<td class="has-text-align-left" data-align="left">
  Synthesizes and prints the AWS CloudFormation template for the required stack or stacks&nbsp;
</td>
<td class="has-text-align-left" data-align="left">
  Deploys the AWS CDK Toolkit stack, required to deploy stacks containing belongings
</td>
<td class="has-text-align-left" data-align="left">
  Deploys the required stacks
</td>
<td class="has-text-align-left" data-align="left">
  Destroys the required stacks
</td>
<td class="has-text-align-left" data-align="left">
  Compares the required stack with the deployed stack or an area AWS CloudFormation template
</td>
<td class="has-text-align-left" data-align="left">
  Shows metadata in regards to the specified stack
</td>
<td class="has-text-align-left" data-align="left">
  Creates a brand new AWS CDK undertaking within the present listing from a specified template<br />
</td>
<td class="has-text-align-left" data-align="left">
  Manages cached context values
</td>
<td class="has-text-align-left" data-align="left">
  Opens the AWS CDK API reference in your browser
</td>
<td class="has-text-align-left" data-align="left">
  Checks your AWS CDK undertaking for potential issues
</td>
Command
cdk listing (ls)
cdk synthesize (synth)
cdk bootstrap
cdk deploy
cdk destroy
cdk diff
cdk metadata
cdk init
cdk context
cdk docs (doc)
cdk physician

Study extra about AWS CDK here, or learn the Official Guides here.

Leave a Reply

Your email address will not be published. Required fields are marked *