An AppSpec file is a CodeDeploy configuration file, usually named appspec.yml, that tells CodeDeploy what to copy and which lifecycle hooks to run. It belongs in the deployment revision alongside application source and scripts. section 15.1
Deploying an AppSpec revision
Package the application, scripts, and appspec.yml as a ZIP file, upload it to the CodeDeploy artifact bucket, and create a deployment referencing the S3 object. A later revision can repeat the process to roll out an application update. section 15.1
