AWS Console-to-Code is generally available which makes it easy to convert AWS console actions to reusable code.
The tool can record users’ actions and workflows in the console to review the corresponding CLI commands.
One can generate reusable code using the infrastructure-as-code format of their choice, including AWS CloudFormation and AWS CDK.
AWS Console-to-Code has extended support to Amazon Relational Database Service (RDS) and Amazon Virtual Private Cloud (Amazon VPC).
The user interface has been improved to offer a simpler experience for managing the prototyping, recording and code generation workflows.
The tool now supports for generating AWS CDK code (currently in Java, Python, and TypeScript) for users' infrastructure workflows.
The free quota for generating CloudFormation and AWS CDK code is 25 generations per month. Beyond that, an Amazon Q Developer subscription is required.
AWS Console-to-Code records actions taken during the current session within the specific browser tab, and it does not retain actions from previous sessions or other tabs.
The tool has received positive response from customers during preview, and has been significantly improved based on their feedback.
AWS Console-to-Code is now available in all commercial regions and is documented in Amazon EC2 documentation.