mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-20 23:22:55 +08:00
33 lines
1.4 KiB
Markdown
33 lines
1.4 KiB
Markdown
# AWS CDK Plugin
|
|
|
|
This plugin provides aliases and autocompletion for the [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) CLI.
|
|
|
|
## Usage
|
|
|
|
Add `cdk` to the plugins array in your `.zshrc`:
|
|
|
|
```zsh
|
|
plugins=(... cdk)
|
|
```
|
|
|
|
## Requirements
|
|
|
|
- [AWS CDK CLI](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html) installed (`npm install -g aws-cdk`)
|
|
|
|
## Aliases
|
|
|
|
| Alias | Command | Description |
|
|
| ------------ | ----------------- | ---------------------------------- |
|
|
| `cdkl` | `cdk list` | List all stacks in the app |
|
|
| `cdksynth` | `cdk synth` | Synthesize CloudFormation template |
|
|
| `cdkdiff` | `cdk diff` | Compare deployed vs local stack |
|
|
| `cdkdeploy` | `cdk deploy` | Deploy stack to AWS |
|
|
| `cdkdestroy` | `cdk destroy` | Destroy deployed stack |
|
|
| `cdkboot` | `cdk bootstrap` | Bootstrap CDK environment |
|
|
| `cdkdoc` | `cdk docs` | Open CDK documentation |
|
|
| `cdkinit` | `cdk init` | Initialize a new CDK project |
|
|
| `cdkwatch` | `cdk watch` | Watch for changes and auto-deploy |
|
|
| `cdkctx` | `cdk context` | Manage cached context values |
|
|
| `cdkack` | `cdk acknowledge` | Acknowledge a notice |
|
|
| `cdkver` | `cdk --version` | Print CDK version |
|