Created
February 17, 2023 03:29
-
-
Save aalokt89/4283d809445f02a90c620983244556e2 to your computer and use it in GitHub Desktop.
create bucket
This file contains hidden or 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
import boto3 | |
#resource | |
s3 = boto3.resource(s3, region_name='us-east-1') | |
#create bucket | |
s3.create_bucket(Bucket=bucket_name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment