version: 0.2
env:
	...
phases:
  install:
		runtime-versions:
			nodejs: 10
    commands:
      - command
    finally: # 성공 여부와 상관없이 실행
      - command
  pre_build:
	...
artifects:
  files:
	  - location
	name: artifect-name# buildspec.yml
...
artifacts:
	files:
#   - '**/*' # 전체 경로를 나타냄
		- target/myapp.jar
	name: myapp-$(date +%Y-%m-%d)# 로컬의 프로젝트를 aws에 배포할 때 사용하는 명령어
aws deploy push --application-name <name> \
								--s3-location <s3 location to save artifact> \
								--ignore-hidden-files \
								--region eu-east-1 \
								--profile aws-devops