CodeDeploy # An application specific file(AppSpec file), which is unique to CodeDeploy, is a YAML formattted or JSON formatted file. The AppSpec file is used to manage each deployment as a series of lifecycle even hooks, which are defined in the file. AppSpec file on an EC2# Example appspec.yml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18version: 0.0 os: linux files: - source: dist/my-angular-project destination: /var/www/my-angular-project permissions: - object: /var/www/my-angular-project pattern: '**' mode: '0755' owner: root group: root type: - file - directory hooks: ApplicationStart: - location: deploy-scripts/application-start-hook.sh timeout: 300