Skip to content

Instantly share code, notes, and snippets.

@DrishtiJ
Created February 21, 2023 11:46
AWS S3 bucket
import boto3
s3 = boto3.client('s3')
response = s3.create_bucket(
Bucket='new-bucket',
CreateBucketConfiguration={
'LocationConstraint': 'us-west-2'
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment