Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[p.758] AWS Lambda 함수 등록 시 핸들러명 설정 #779

Open
wiseguy77 opened this issue Jul 5, 2023 · 1 comment
Open

[p.758] AWS Lambda 함수 등록 시 핸들러명 설정 #779

wiseguy77 opened this issue Jul 5, 2023 · 1 comment

Comments

@wiseguy77
Copy link

[3판 1쇄] 밑에서 4번 째 줄,

"핸들러는 반드시 실행할 파일명.함수명이어야 합니다. "

다른 화면 캡쳐에서 확인해 보려 했지만 보이질 않네요.
실수하면 실행이 안되는 중요한 내용인 것 같아 관련된 캡쳐가 추가되면 좋을 것 같습니다.

@ZeroCho
Copy link
Owner

ZeroCho commented Jul 5, 2023

[758p]
코드 소스 섹션에서 업로드를 Amazon S3 위치로 선택합니다... 같은 형식으로 넣습니다. 코드 소스 섹션 아래 런타임 설정 섹션에서 핸들러는 반드시 실행할 파일명.함수명이어야 합니다. 이 책의 예제 파일명이 index.js이고, exports한 함수의 이름이 handler이므로 index.handler로 설정합니다.

[759p]
이제 S3에 이미지를 업로드할 때 람다 함수가 실행되도록 설정해보겠습니다. 함수 개요 섹션에서 트리거 추가 버튼을 누릅니다.

감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants