Answers for "aws cli create bucket command"

0

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"
Posted by: Guest on April-26-2021
0

creating bucket in aws cli

$ aws s3api create-bucket \     --bucket my-second-emr-bucket \     --region us-east-2 \     --create-bucket-configuration LocationConstraint=us-east-2
Posted by: Guest on July-20-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language