Package software.amazon.awssdk.regions.providers
-
Interface Summary Interface Description AwsRegionProvider Interface for providing AWS region information. -
Class Summary Class Description AwsProfileRegionProvider Loads region information from theProfileFile.defaultProfileFile()
using the default profile name.AwsRegionProviderChain CompositeAwsRegionProvider
that sequentially delegates to a chain of providers looking for region information.DefaultAwsRegionProviderChain AWS Region provider that looks for the region in this order: Check the 'aws.region' system property for the region. Check the 'AWS_REGION' environment variable for the region. Check the {user.home}/.aws/credentials and {user.home}/.aws/config files for the region. If running in EC2, check the EC2 metadata service for the region.DefaultAwsRegionProviderChain.Builder InstanceProfileRegionProvider Attempts to load region information from the EC2 Metadata service.LazyAwsRegionProvider A wrapper forAwsRegionProvider
that defers creation of the underlying provider until the first time theAwsRegionProvider.getRegion()
method is invoked.SystemSettingsRegionProvider Loads region information from the 'aws.region' system property or the 'AWS_REGION' environment variable.