Closed yukinobu closed 1 year ago
Thanks for your contribution. One tiny thing before we merge, could you add EC2ASGCustomTerminationPolicyEvent
to the list of events in the README here
Thank you for taking the time to review. I've fixed my commit. Please check again at your convenience.
In EC2 Auto Scaling Groups (ASG), we can set a custom termination policy. When doing so, we need to write a Lambda function to handle the termination events. The format of the event to this Lambda is defined by AWS.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/lambda-custom-termination-policy.html
I've created a "type" that corresponds to this event. I'd be grateful if you could consider merging it.