2.5. 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.