title: What is the maximum expiration time for CloudFront signed url
body: <p>I'm using CloudFront for generating signed URL from this <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CFPrivateDistJavaDevelopment.html" rel="nofollow noreferrer">doc</a> what is the maximum expiration time for CloudFront signed URL?  How should I mention on this DateLessThan argument</p>
  
  <p><strong>Sample Code snippet</strong></p>
  
  <pre><code>String signedUrlCanned = CloudFrontService.signUrlCanned(
      "http://" + distributionDomain + "/" + s3ObjectKey, // Resource URL or Path
      keyPairId,     // Certificate identifier, 
                     // an active trusted signer for the distribution
      derPrivateKey, // DER Private key data
      ServiceUtils.parseIso8601Date("2011-11-14T22:20:00.000Z") // DateLessThan
      );
  System.out.println(signedUrlCanned);
  </code></pre>
  
  <p><strong>Note</strong>: It should be a permanent URL like Instagram cdn URL</p>