Components of AppSpec YAML File

Learn about the different components that make up the application specification file.

AWS CodeDeploy uses a configuration file named appspec.yml to manage each deployment. This deployment file can be written in YAML or JSON. An essential requirement we need to keep in mind is that each deployment must have a unique application specification file.

AppSpec YAML file structure

A common theme we must remember while preparing this configuration file is that it has a series of key-value pairs. Even if the value is of a type string, we don’t need to enclose it in double quotation marks.

Get hands-on with 1200+ tech skills courses.