How I can install aws-sdk package when deploy a hook

Now I need to deploy Send Phone Message hook link to AWS SNS.
And my config on js file in hooks/ folder

// Load the SDK
var AWS = require(“aws-sdk”);

After deploying that to auth0, the hook deploy successful but the aws-sdk does not automate installation for my hook. I need to go to hook and manual install on dashboard.
How I can automate this step? And where are the configured packages do I need to use?