Package | Description |
---|---|
software.amazon.awssdk.regions.providers |
Modifier and Type | Class and Description |
---|---|
class |
AwsRegionProviderChain
Composite
AwsRegionProvider that sequentially delegates to a chain of providers looking
for region information. |
class |
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.
|
class |
InstanceProfileRegionProvider
Attempts to load region information from the EC2 Metadata service.
|
class |
SystemSettingsRegionProvider
Loads region information from the 'aws.region' system property or the 'AWS_REGION' environment variable.
|
Constructor and Description |
---|
AwsRegionProviderChain(AwsRegionProvider... providers) |
Copyright © 2018. All rights reserved.