1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Are the required policies set for the IAM roles as described in this document?
https://docs.aws.amazon.com/amplify/latest/userguide/ssr-CloudWatch-logs.html
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
Are the required policies set for the IAM roles as described in this document?
https://docs.aws.amazon.com/amplify/latest/userguide/ssr-CloudWatch-logs.html
Yes, the role has the following policies established: { "Sid": "PushLogs", "Effect": "Allow", "Action": [ "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource": "arn:aws:logs:us-east-1::log-group:/aws/amplify/:log-stream:" }, { "Sid": "CreateLogGroup", "Effect": "Allow", "Action": "logs:CreateLogGroup", "Resource": "arn:aws:logs:us-east-1::log-group:/aws/amplify/" }, { "Sid": "DescribeLogGroups", "Effect": "Allow", "Action": "logs:DescribeLogGroups", "Resource": "arn:aws:logs:us-east-1:***********:log-group:" }
Additionally, I share with you what only the cloudwatch registers for me:
[ { "@timestamp": "2023-06-22 21:11:39.740", "@message": "REPORT RequestId: 56ad9253-f559-4f59-ab59-0fddcf0a37b4\tDuration: 7.19 ms\tBilled Duration: 8 ms\tMemory Size: 1024 MB\tMax Memory Used: 213 MB\t\n" }, { "@timestamp": "2023-06-22 21:11:39.733", "@message": "START RequestId: 56ad9253-f559-4f59-ab59-0fddcf0a37b4 Version: $LATEST\n" } ]