All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.runtime.regions.providers.DefaultAwsRegionProviderChain.kt Maven / Gradle / Ivy

There is a newer version: 0.6.0-alpha
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

package aws.sdk.kotlin.runtime.regions.providers

/**
 * [AwsRegionProvider] that looks for region in this order:
 *  1. Check `aws.region` system property (JVM only)
 *  2. Check the `AWS_REGION` environment variable (JVM, Node, Native)
 *  3. Check the AWS config files/profile for region information
 *  4. If running on EC2, check the EC2 metadata service for region
 */
public expect class DefaultAwsRegionProviderChain public constructor() : AwsRegionProvider




© 2015 - 2025 Weber Informatics LLC | Privacy Policy