RANDOM_STRING=$(aws secretsmanager get-random-password \
--exclude-punctuation --exclude-uppercase \
--password-length 6 --require-each-included-type \
--output text \
--query RandomPassword)
aws s3api create-bucket --bucket awscookbook304-$RANDOM_STRING
Instructions here
aws s3api delete-bucket --bucket awscookbook304-$RANDOM_STRING