Skip to content

Can we have a bucket name: \b\-ds.n

0

Can we have a bucket name: \b-ds.n

asked 2 years ago590 views
2 Answers
2

Hello,

A short answer is no.

Bucket names can consist only of lowercase letters, numbers, dots (.), and hyphens (-).

You can refer this documentation regarding naming rules for Amazon S3 bucket: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
2

Hello Saurav,

No, bucket names cannot contain backslashes (). It's a reserved character in AWS. Use hyphen (-) or underscore (_) instead.

Bucket Naming Conventions: This page outlines the general naming rules for S3 buckets, including allowed characters and length restrictions: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.