# AWS CodeDeploy application specification file
version: 0.0
os: linux
files:
  - source: /
    destination: /home/ubuntu/tlsn
permissions:
  - object: /home/ubuntu/tlsn
    owner: ubuntu
    group: ubuntu
hooks:
  BeforeInstall:
    - location: cd-scripts/appspec-scripts/before_install.sh
      timeout: 300
      runas: ubuntu
  AfterInstall:
    - location: cd-scripts/appspec-scripts/after_install.sh
      timeout: 300
      runas: ubuntu
  ApplicationStart:
    - location: cd-scripts/appspec-scripts/start_app.sh
      timeout: 300
      runas: ubuntu
  ApplicationStop:
    - location: cd-scripts/appspec-scripts/stop_app.sh
      timeout: 300
      runas: ubuntu
  ValidateService:
    - location: cd-scripts/appspec-scripts/validate_app.sh
      timeout: 300
      runas: ubuntu
