Package software.amazon.awssdk.regions.providers
package software.amazon.awssdk.regions.providers
-
ClassDescriptionLoads region information from the
ProfileFile.defaultProfileFile()
using the default profile name.Interface for providing AWS region information.CompositeAwsRegionProvider
that sequentially delegates to a chain of providers looking for region information.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.Attempts to load region information from the EC2 Metadata service.A wrapper forAwsRegionProvider
that defers creation of the underlying provider until the first time theAwsRegionProvider.getRegion()
method is invoked.Loads region information from the 'aws.region' system property or the 'AWS_REGION' environment variable.