enroll-ec2-mac is a script to automatically enroll Amazon EC2 Mac instances into MDM. API calls for Jamf Pro are included, as are templates for credential setup.
Why do you think that https://github.com/homebysix/recipe-robot is a good alternative to amazon-ec2-mac-mdm-enrollment-automation