I am looking for a solution to make a POST Request to an External API when the state of an EC2 Instance changes. I want to use Cloudwatch so that I can pass the InstanceId to the API with the Input Transformer option.
Is there a way to do this without involving Lambda? (upstream requirement) Perhaps with an SSM Automation?