Search code examples
amazon-web-servicesamazon-cloudfront

CloudFront distribution comment maximum length?


I'm using the Java SDK 2 to create an AWS CloudFront distribution, but it failed telling me the comment I provided was too long. But it didn't say how long it could be. Moreover I was able to provide a much longer comment for a Route 53 hosted zone with no problem.

What is the maximum length of a comment for a CloudFront distribution? Where is this documented?

Update: After some experimentation, it seems the comment is allowed to be a little over 120 characters. I didn't have time to keep testing and close in on the exact number.


Solution

  • I filed Bug #1468 for the AWS Java SDK2 project on GitHub. Someone responded saying that the maximum length of an AWS CloudFront distribution comment is likely 128 characters, and that they will request the documentation team specify this somewhere.