Saturday, September 30, 2023
HomeSoftware EngineeringFrequent AWS CDK CLI Instructions

Frequent AWS CDK CLI Instructions


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

<th class="has-text-align-left" data-align="left">
  <sturdy>Operate</sturdy>
</th>
<td class="has-text-align-left" data-align="left">
  Lists the stacks within the utility
</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 concerning the specified stack
</td>
<td class="has-text-align-left" data-align="left">
  Creates a brand new AWS CDK mission 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 mission 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

Be taught 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