https://github.com/lewis262626/amplifylogstos3
A Lambda that gets AWS Amplify logs and pushes them to an S3 bucket
https://github.com/lewis262626/amplifylogstos3
amplify aws lambda serveless
Last synced: 4 months ago
JSON representation
A Lambda that gets AWS Amplify logs and pushes them to an S3 bucket
- Host: GitHub
- URL: https://github.com/lewis262626/amplifylogstos3
- Owner: lewis262626
- License: mit
- Created: 2020-01-18T22:16:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T00:56:59.000Z (about 4 years ago)
- Last Synced: 2025-01-12T21:42:23.289Z (5 months ago)
- Topics: amplify, aws, lambda, serveless
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AmplifyLogsToS3
A Lambda that gets AWS Amplify logs and pushes them to an S3 bucket.## Permissions Required
`{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "amplify:*",
"Resource": "*"
}
]
}`Also attach AmazonS3FullAccess and AWSLambdaBasicExecutionPolicy to your IAM role.
## Lambda Setup
1. 128MB RAM
2. 2 minute timeoutSetup a CloudWatch to do this say every week.