S3 bucket and key naming policies

It is recommended to use bucket names that comply with DNS naming conventions:

  • Can be from 3 to 63 characters long
  • Must start and end with a lowercase letter or number
  • Can contain lowercase letters, numbers, periods (.), hyphens (-), and underscores (_)
  • Can be a series of valid name parts (described previously) separated by periods

An object key can be a string of any UTF-8 encoded characters, up to 1024 bytes long.