Overview
Aspect Workflows supports lifecycle hooks that allow you to run custom scripts or executables at specific points during the lifecycle of Aspect’s infrastructure components. These hooks enable you to customize and extend the behavior of the infrastructure to meet your project’s specific needs. You organize hooks by namespace and then by hook name. To implement a hook, place an executable file named after the hook into the appropriate namespace directory inside the hooks bucket. Important: The hook name (e.g.,pre-bootstrap, post-bootstrap) is the filename itself, not a directory. For example, to add the pre-bootstrap hook for runners, create an executable file named pre-bootstrap (not pre-bootstrap.sh or any other name) and upload it to aw-hooks-HASH/runners/pre-bootstrap. The path aw-hooks-HASH/runners/pre-bootstrap is the full S3 path to the file, not a directory containing the hook.
