AppSpec file
The file in a CodeDeploy revision that says what to install and which script or function to run at each lifecycle event.
In more detail
For EC2 it lists files to copy and scripts for hooks such as ApplicationStop and ValidateService. For ECS it names the task definition, container and port, plus Lambda functions to run as test hooks. For Lambda it names the function, the alias and the current and target versions.
Related terms
- AWS CodeDeploy — The AWS service that rolls a new application revision out to EC2 instances, ECS services or Lambda functions, and can roll it back automatically.
- CodeDeploy lifecycle event hook — A named point in a CodeDeploy deployment, such as ApplicationStop or ValidateService, where your own script or function runs and can fail the deployment.
Taught in
- CodeDeploy: Hooks That Never Ran — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep