-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(toolkit-lib): CODE_REGISTRY.md tracks valid codes and their docu…
…mentation (#44) closes aws/aws-cdk#33434 generates `CODE_REGISTRY.md` using information gathered in `codes.ts`. this pr: - updates `codes.ts` to have additional information stored - introduces a script that generates a markdown table from the `CODES` object - updates projen to build `CODE_REGISTRY.md` as a post-build step --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
- Loading branch information
Showing
13 changed files
with
385 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Toolkit Code Registry | ||
|
||
| Code | Description | Level | Data Interface | | ||
|------|-------------|-------|----------------| | ||
| CDK_TOOLKIT_I1000 | Provides synthesis times. | info | n/a | | ||
| CDK_TOOLKIT_I1901 | Provides stack data | result | [StackData](docs/interfaces/StackData.html) | | ||
| CDK_TOOLKIT_I1902 | Successfully deployed stacks | result | [AssemblyData](docs/interfaces/AssemblyData.html) | | ||
| CDK_TOOLKIT_I2901 | Provides details on the selected stacks and their dependencies | result | n/a | | ||
| CDK_TOOLKIT_E3900 | Resource import failed | error | n/a | | ||
| CDK_TOOLKIT_I5000 | Provides deployment times | info | n/a | | ||
| CDK_TOOLKIT_I5001 | Provides total time in deploy action, including synth and rollback | info | [Duration](docs/interfaces/Duration.html) | | ||
| CDK_TOOLKIT_I5002 | Provides time for resource migration | info | n/a | | ||
| CDK_TOOLKIT_I5031 | Informs about any log groups that are traced as part of the deployment | info | n/a | | ||
| CDK_TOOLKIT_I5050 | Confirm rollback during deployment | info | n/a | | ||
| CDK_TOOLKIT_I5060 | Confirm deploy security sensitive changes | info | n/a | | ||
| CDK_TOOLKIT_I5900 | Deployment results on success | result | [SuccessfulDeployStackResult](docs/interfaces/SuccessfulDeployStackResult.html) | | ||
| CDK_TOOLKIT_E5001 | No stacks found | error | n/a | | ||
| CDK_TOOLKIT_I6000 | Provides rollback times | info | n/a | | ||
| CDK_TOOLKIT_E6001 | No stacks found | error | n/a | | ||
| CDK_TOOLKIT_E6900 | Rollback failed | error | n/a | | ||
| CDK_TOOLKIT_I7000 | Provides destroy times | info | n/a | | ||
| CDK_TOOLKIT_I7010 | Confirm destroy stacks | info | n/a | | ||
| CDK_TOOLKIT_E7010 | Action was aborted due to negative confirmation of request | error | n/a | | ||
| CDK_TOOLKIT_E7900 | Stack deletion failed | error | n/a | | ||
| CDK_ASSEMBLY_I0042 | Writing updated context | debug | n/a | | ||
| CDK_ASSEMBLY_I0241 | Fetching missing context | debug | n/a | | ||
| CDK_ASSEMBLY_I1000 | Cloud assembly output starts | debug | n/a | | ||
| CDK_ASSEMBLY_I1001 | Output lines emitted by the cloud assembly to stdout | info | n/a | | ||
| CDK_ASSEMBLY_E1002 | Output lines emitted by the cloud assembly to stderr | error | n/a | | ||
| CDK_ASSEMBLY_I1003 | Cloud assembly output finished | info | n/a | | ||
| CDK_ASSEMBLY_E1111 | Incompatible CDK CLI version. Upgrade needed. | error | n/a | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.