Elastic Beanstalk provides Platform Hooks to run custom scripts at different stages of deployments.
For example, a custom script can be run to whitelist the IP of a newly deployed EC2 instance in a third party service etc...
Does it provide any similar hooks to run during termination of an environment? For running some clean-up jobs outside elastic beanstalk