This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For https://stackoverflow.com/questions/76747790/%d0%90utomatic-deletion-files-from-s3: | |
Here's a sample Lambda function to do it: | |
```python | |
import boto3 | |
BUCKET_NAME = 'my-bucket-name' | |
def lambda_handler(event, context): |