Lambda hooks send the resource change context to a Lambda function running in your account in a region of your choosing. The Lambda hook utilizes the IAM Role that was created for PowerDown when your PowerDown account was created.
When defining the Lambda hook, you specify the name of the Lambda function, the connected cloud, cloud region and a payload secret.
The hook request context will include the payload secret you defined when you created the hook. You should validate this to ensure the request is authorized.