version: 0.0 os: linux files: - source: / destination: /home/ec2-user/app/step3/zip/ overwrite: yes permissions: - object: / pattern: "**" owner: ec2-user group: ec2-user hooks: AfterInstall: - location: stop.sh timeout: 600 runas: root ApplicationStart: - location: start.sh timeout: 600 runas: root ValidateService: - location: health.sh timeout: 600 runas: root