edthamm

deregister_ssm

Jan 6th, 2020
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1. function disconnect_ssm() {
  2.   managedInstanceId=#TODO
  3.   echo "Deregistering self with ID: $managedInstanceId from SSM"
  4.   # TODO
  5.   exit 0
  6. }
  7.  
  8. trap disconnect_ssm SIGTERM
  9. trap disconnect_ssm SIGINT
Advertisement
Add Comment
Please, Sign In to add comment