Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

aws cli create bucket command

aws s3 mb s3://<bucket-name>
# or
aws s3api create-bucket --bucket <bucket-name> --region <region>

# if error occurs as: (BucketAlreadyExists) 
# need to specify unique name like "bucket-name-5184653123"
 
PREVIOUS NEXT
Tagged: #aws #cli #create #bucket #command
ADD COMMENT
Topic
Name
4+6 =