bucket names can't have '/' in them?
See original GitHub issueTrying to get object from Bucket='some-syndication/some-directory'
it returns that the '/'
doesn’t match the parameter validation.
ParamValidationError: Parameter validation failed:
Invalid bucket name "some-syndication/some-directory": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$"
However if I generate a presigned url with the same bucket name, I get the URL and can follow that link to the file. Is this a bug or purposeful?
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Amazon S3 bucket naming requirements - AWS CloudTrail
The Amazon S3 bucket that you use to store CloudTrail log files must have a name that conforms with naming requirements for non-US...
Read more >What are valid S3 bucket names? - Flexera CMP Docs
Bucket names cannot contain periods - Due to our S3 client utilizing SSL/HTTPS, Amazon documentation indicates that a bucket name cannot contain a...
Read more >Simple Rules for AWS S3 Bucket Naming and Restrictions
“The bucket name can be between 3 and 63 characters long, and can contain only lower-case characters, numbers, periods, and dashes.” — AWS ......
Read more >DNS Compliant S3 Bucket Names
If you need to use your Amazon S3 buckets over SSL, using periods (".") for their names will trigger certificate mismatch errors, therefore...
Read more >About Cloud Storage buckets
Bucket names must contain 3-63 characters. Names containing dots can contain up to 222 characters, but each dot-separated component can be no longer...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
/abc
is a Key, not a Bucket. If your bucket’s name isbucket-name
you access it withs3.Bucket('bucket-name')
. If you want to get the objectbucket-name/abc
then you uses3.Bucket('bucket-name').Object('abc')
Just a side note for everyone who chimed in after this issue was closed: you’d better create a separated new issue for your case, and optionally mentioned this issue in your new issue. The reason for this suggestion is that, when there are 55 open issues (as of today), your comments in a closed thread won’t receive much attention.