2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Make sure that the IAM role associated with your API Gateway has permissions to write to CloudWatch Logs (e.g., the logs:CreateLogGroup, logs:CreateLogStream, and logs:PutLogEvents actions
0
Thanks, When I check through IAM, I see that I have the necessary permissions. Logs are below. Only principalId field always "-".
{
"requestId": "U_wSVhG4l*******",
"ip": "85.***.**.**",
"requestTime": "21/Mar/2024:20:09:50 +0000",
"httpMethod": "GET",
"routeKey": "ANY /{proxy+}",
"status": "200",
"protocol": "HTTP/1.1",
"responseLength": "87",
"path": "/***/***/***",
"reqLatency": "107 ms",
"resLatency": "109 ms",
"userAgent": "***",
"principalId": "-"
}
답변함 2달 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전