After clicking on the Update button in the preceding screenshot, you can add a new stage by clicking the Add Stage box below the build stage. For the stage name, enter the name Dev, which will represent a deployment into an environment called Dev, and then click on the Add Action box to add a new action:
Because this is a deployment stage, select Deploy from the Action category drop-down menu, configure an action name of Deploy, and select AWS CloudFormation as the Deployment provider:
This will expose a number of configuration parameters ...