public class InstanceMetadataRegionProvider extends AwsRegionProvider
SDKGlobalConfiguration.isEc2MetadataDisabled()
returns true,
this provider will return null.Constructor and Description |
---|
InstanceMetadataRegionProvider() |
public String getRegion()
getRegion
in class AwsRegionProvider
AmazonClientException
- if SDKGlobalConfiguration.isEc2MetadataDisabled()
is trueCopyright © 2023. All rights reserved.