This template creates a state machine and uses the StateMachineRevisionId property to always point to the most recent revision of the state machine. It then creates an alias named PROD to deploy this new version. Alarms are included to monitor the alias.

CloudFormation Template