Devfile events - Amazon CodeCatalyst

Devfile events

Currently, CodeCatalyst only supports postStart events in your devfile. For more information, see postStartObject in the documentation.

The following example shows you how to add postStart event bindings in your devfile.

commands: - id: executescript exec: component: test commandLine: "./projects/devfiles/" - id: updateyum exec: component: test commandLine: "yum -y update --security" events: postStart: - updateyum - executescript

After startup, your Dev Environment will execute the specified postStart commands in the order they are defined. If a command fails, the Dev Environment will continue running and the execution output is stored in the logs under /aws/mde/logs.