module Aws::DefaultsModeConfiguration

A defaults mode determines how certain default configuration options are resolved in the SDK.

Note: For any mode other than ‘’legacy’‘ the vended default values might change as best practices may evolve. As a result, it is encouraged to perform testing when upgrading the SDK if you are using a mode other than `’legacy’‘. While the `’legacy’‘ defaults mode is specific to Ruby, other modes are standardized across all of the AWS SDKs.

The defaults mode can be configured:

* Directly on a client via `:defaults_mode`

* On a configuration profile via the "defaults_mode" profile file property.

* Globally via the "AWS_DEFAULTS_MODE" environment variable.

defaults START - documentation The following ‘:default_mode` values are supported:

Based on the provided mode, the SDK will vend sensible default values tailored to the mode for the following settings:

All options above can be configured by users, and the overridden value will take precedence.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html [2]: docs.aws.amazon.com/sdkref/latest/guide/setting-global-retry_mode.html [3]: docs.aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html

defaults END - documentation