DefaultRegionProviderChain
RegionProvider that looks for region in this order:
Check
aws.regionsystem property (JVM only)Check the
AWS_REGIONenvironment variable (JVM, Node, Native)Check the AWS config files/profile for region information
If running on EC2, check the EC2 metadata service for region
Constructors
Link copied to clipboard
expect constructor(platformProvider: <Error class: unknown class> = PlatformProvider.System, imdsClient: <Error class: unknown class><InstanceMetadataProvider> = lazy { ImdsClient() }, profile: <Error class: unknown class><AwsProfile> = asyncLazy { loadAwsSharedConfig(platformProvider).activeProfile })
actual constructor(platformProvider: PlatformProvider, imdsClient: Lazy<<Error class: unknown class>>, profile: LazyAsyncValue<<Error class: unknown class>>)
actual constructor(platformProvider: <Error class: unknown class>, imdsClient: <Error class: unknown class><InstanceMetadataProvider>, profile: <Error class: unknown class><AwsProfile>)