Skip to content

Instantly share code, notes, and snippets.

View tschoonj's full-sized avatar

Tom Schoonjans tschoonj

View GitHub Profile
@mattupstate
mattupstate / put-s3-bucket-notification-configuration
Last active January 11, 2022 03:31
Example of how to configure S3 bucket notifications from the command line
#!/usr/bin/env python
import argparse
import sys
try:
import boto3
except ImportError:
print('Please install boto3 to use this tool')
sys.exit(1)