Monday, April 15, 2024
HomeSoftware EngineeringFrequent AWS CDK CLI Instructions

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">
  <robust>Perform</robust>
</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 property
</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 right here, or learn the Official Guides right here.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments