Run AWS-managed and custom transformations on your code using the ATX CLI. This demo walks through analyzing the CardDemo mainframe application with the comprehensive codebase analysis transformation.
Ensure your environment meets these requirements before installing the AWS Transform CLI.
⚠️ Native Windows is not supported.
transform-custom:* permissionsOne-line install script to get the AWS Transform CLI up and running.
curl -fsSL https://transform-cli.awsstatic.com/install.sh | bash
atx --version # AWS Transform CLI v1.x.x
export AWS_REGION=us-east-1 export AWS_PROFILE=your_profile_name # Or set credentials directly export AWS_ACCESS_KEY_ID=your_access_key export AWS_SECRET_ACCESS_KEY=your_secret_key export AWS_SESSION_TOKEN=your_session_token
A mainframe credit card management system — the target codebase for this demo transformation.
git clone https://github.com/aws-samples/aws-mainframe-modernization-carddemo.git cd aws-mainframe-modernization-carddemo
Key commands to explore available transformations and check your setup.
atx --version
atx custom def list
atx # Opens the interactive agent — describe what you want to transform
Execute the comprehensive codebase analysis on the CardDemo application.
Start the ATX agent and tell it what to do:
atx
In the interactive prompt, enter:
Execute the AWS/early-access-comprehensive-codebase-analysis transformation on the codebase at ./aws-mainframe-modernization-carddemo
After the transformation completes, review the changes with Git:
git status git log git diff <original-commit-id>