What is a Buildspec?
A buildspec is a file that provides information to the build manager on how to conduct a build. The information contained in the buildspec includes:

target buildspace

components to be built

platform

general build options

module-specific build options, if applicable

user-specified build options