use_dualstack_endpoint - AWS SDKs and Tools Shared Configuration and Credentials

use_dualstack_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 dual IPv4/IPv6 endpoint for the configured Region.

Note

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

Ways to set this value

Location Supported Example
config file X
s3 = use_dualstack_endpoint = true
credentials file -
Environment variable -
CLI parameter -

Compatibility with AWS SDKS and tools

SDK or tool Supported Notes or more information
AWS Command Line Interface (AWS CLI) X
AWS SDK for .NET - This can be set in code by using the Config property of each Client class. See specifically the UseDualstackEndpoint property, which is inherited from Amazon.Runtime.IClientConfig.
AWS SDK for PHP
AWS SDK for Python (Boto3) X

AWS Toolkit for JetBrains consists of:

-
AWS Toolkit for Visual Studio -
AWS Toolkit for Visual Studio Code
AWS Tools for PowerShell -