ProfileRegionProvider

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

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: LazyAsyncValue<AwsProfile> = asyncLazy { loadAwsSharedConfig(PlatformProvider.System).activeProfile })

Functions

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