구조

exports.handler = async (event) => {
// const response = {
// statusCode: 200,
// body: JSON.stringify('Hello from Lambda!'),
// };
console.log(event.text)
return event.text;
};

https://8n4eynhw2h.execute-api.ap-northeast-1.amazonaws.com/prod
String triggerUrl = "[<https://8n4eynhw2h.execute-api.ap-northeast-1.amazonaws.com/prod>](<https://8n4eynhw2h.execute-api.ap-northeast-1.amazonaws.com/prod>)/notifications/approvals";
RestTemplate restTemplate = new RestTemplate();
restTemplate.postForEntity(triggerUrl, null, String.class);