RegistryRecordCredentialProviderUnion
The credential provider details for a registry record. Exactly one member is populated, matching the configured credential provider type.
Inheritors
Types
The IAM role credential provider details.
The OAuth 2.0 credential provider details.
Functions
Casts this RegistryRecordCredentialProviderUnion as a IamCredentialProvider and retrieves its aws.sdk.kotlin.services.agentregistrycontrol.model.RegistryRecordIamCredentialProvider value. Throws an exception if the RegistryRecordCredentialProviderUnion is not a IamCredentialProvider.
Casts this RegistryRecordCredentialProviderUnion as a IamCredentialProvider and retrieves its aws.sdk.kotlin.services.agentregistrycontrol.model.RegistryRecordIamCredentialProvider value. Returns null if the RegistryRecordCredentialProviderUnion is not a IamCredentialProvider.
Casts this RegistryRecordCredentialProviderUnion as a OauthCredentialProvider and retrieves its aws.sdk.kotlin.services.agentregistrycontrol.model.RegistryRecordOAuthCredentialProvider value. Throws an exception if the RegistryRecordCredentialProviderUnion is not a OauthCredentialProvider.
Casts this RegistryRecordCredentialProviderUnion as a OauthCredentialProvider and retrieves its aws.sdk.kotlin.services.agentregistrycontrol.model.RegistryRecordOAuthCredentialProvider value. Returns null if the RegistryRecordCredentialProviderUnion is not a OauthCredentialProvider.