ProfileRegionProvider

class ProfileRegionProvider(profile: <Error class: unknown class><AwsProfile> = asyncLazy { loadAwsSharedConfig(PlatformProvider.System).activeProfile })

RegionProvider that sources region information from the active profile

Constructors

Link copied to clipboard
constructor(profileName: String)

Create a new ProfileRegionProvider that sources region from the given profileName

constructor(profile: <Error class: unknown class><AwsProfile> = asyncLazy { loadAwsSharedConfig(PlatformProvider.System).activeProfile })

Functions

Link copied to clipboard
open suspend fun getRegion(): String?