Interface IDefaultConfigurationAutoModeResolver
Resolves Auto into the correct DefaultConfigurationMode given the current operating environment.
public interface IDefaultConfigurationAutoModeResolver
Methods
Resolve(RegionEndpoint, Func<RegionEndpoint>)
Resolves Auto into the correct DefaultConfigurationMode given the current operating environment.
Auto resolution is heuristic based and does not guarantee 100% accuracy. If you are unsure about the behavior, use a DefaultConfigurationMode other than Auto.DefaultConfigurationMode Resolve(RegionEndpoint clientRegion, Func<RegionEndpoint> imdsRegion)
Parameters
clientRegion
RegionEndpointThe RegionEndpoint configured in RegionEndpoint.
imdsRegion
Func<RegionEndpoint>IMDS region provided by Region. Func allows to defer the check until the point of use.
Returns
- DefaultConfigurationMode
The resolved DefaultConfigurationMode for the current operating environment.