{"id":20990592,"url":"https://github.com/bhumijgupta/serverless-s3-cleaner","last_synced_at":"2026-04-21T16:34:09.570Z","repository":{"id":97584736,"uuid":"223614151","full_name":"bhumijgupta/serverless-s3-cleaner","owner":"bhumijgupta","description":"A serverless lambda function to clean s3 bucket after every 7 days","archived":false,"fork":false,"pushed_at":"2019-12-02T18:07:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T12:17:31.006Z","etag":null,"topics":["aws-lambda","nodejs","serverless"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhumijgupta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-23T15:52:35.000Z","updated_at":"2019-12-02T18:08:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0c05b02-8c11-4261-a92c-fea4295d53aa","html_url":"https://github.com/bhumijgupta/serverless-s3-cleaner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bhumijgupta/serverless-s3-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2Fserverless-s3-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2Fserverless-s3-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2Fserverless-s3-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2Fserverless-s3-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhumijgupta","download_url":"https://codeload.github.com/bhumijgupta/serverless-s3-cleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhumijgupta%2Fserverless-s3-cleaner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262393437,"owners_count":23304117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","nodejs","serverless"],"created_at":"2024-11-19T06:34:31.804Z","updated_at":"2026-04-21T16:34:04.521Z","avatar_url":"https://github.com/bhumijgupta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless S3 Cleaner\n\nA basic AWS Lambda function to clean items from S3 bucket that are more than 7 days old.\n\n## Trigger\n\nThe function can be triggered by\n\n- CloudWatch Events  \n   CloudWatch triggers the function after every 7 days\n- API Gateway  \n  The function can be triggered manually using an API gateway\n\n## Running function locally\n\n1. Install serverless and serverless-offline  \n   `npm i serverless serverless-offline -g`\n2. Configure serverless  \n   [Configuring serverless with AWS](https://serverless.com/framework/docs/providers/aws/guide/credentials/)\n3. Run serverless offline  \n   `sls offline start`\n\n## Deploying function to AWS Lambda\n\n`sls deploy -v`\n\n\u003chr\u003e\nMade with :heart:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhumijgupta%2Fserverless-s3-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhumijgupta%2Fserverless-s3-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhumijgupta%2Fserverless-s3-cleaner/lists"}