use_accelerate_endpoint - AWS SDKs and Tools

use_accelerate_endpoint

Details

Default value: false

Valid values:

  • false –The default value. The SDK or tool directs all Amazon S3 requests to the standard endpoint for the configured Region.

  • true – The SDK or tool directs all Amazon S3 requests to the S3 Accelerate endpoint at s3-accelerate.amazonaws.com. To use this endpoint, you must enable your bucket to use S3 Accelerate. All requests are sent using the virtual style of bucket addressing: my-bucket.s3-accelerate.amazonaws.com. Note that ListBuckets, CreateBucket, and DeleteBucket requests aren't sent to the S3 Accelerate endpoint because that endpoint doesn't support those operations. This behavior can also be set if the --endpoint-url command-line parameter is set to https://s3-accelerate.amazonaws.com or http://s3-accelerate.amazonaws.com for any s3 or s3api command.

Note

You can't set both use_accelerate_endpoint and use_dualstack_endpoint to true. They are mutually exclusive.

Ways to set this value

Location Supported Example
config file Yes
s3 = use_accelerate_endpoint = true
credentials file -
Environment variable -
AWS CLI parameter -

Compatibility with AWS SDKS and tools