title: How to configure AWS Amplify's Storage.put to use a transfer accelerated s3 bucket domain?
body: <p>I've enabled <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html" rel="nofollow noreferrer">S3 Transfer Acceleration</a> using <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-accelerateconfiguration.html#cfn-s3-bucket-accelerateconfiguration-accelerationstatus" rel="nofollow noreferrer">Cloudformation</a>.</p>
  
  <p>The documentation says that after enabling it, developers need to point their clients to use the new accelerated domain name.</p>
  
  <p>E.g. from <code>mybucket.s3.us-east-1.amazonaws.com</code> to <code>bucketname.s3-accelerate.amazonaws.com</code>.</p>
  
  <p>However, AWS Amplify's Storage.put method is using the bucket name defined during <a href="https://aws-amplify.github.io/docs/js/storage#manual-setup" rel="nofollow noreferrer">configuration</a> like so:</p>
  
  <pre><code>Amplify.configure({
    Storage: {
      AWSS3: {
        bucket: AWS_BUCKET_NAME,
        region: AWS_REGION
      }
    }
  })
  </code></pre>
  
  <p>Since there is no domain name here, but only a bucket name, how does one set it to access the accelerated endpoint instead?</p>