Installing salt in a docker container and running it in masterless mode, allows you to use your existing salt infrastructure to provision containers. See the following Dockerfile.
CodeBuild might not be the continuous integration server that everyone moves to in droves, especially as a standalone service, but I think there are use cases for it that exist outside of providing a test and build infrastructure. Short-lived compute instances.