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

Create a new ProfileRegionProvider that sources region from the given profileName

Functions

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