asKmsKeySource
Casts this PrivateKeySource as a KmsKeySource and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.KmsKeySourceType value. Throws an exception if the PrivateKeySource is not a KmsKeySource.
Casts this PrivateKeySource as a KmsKeySource and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.KmsKeySourceType value. Throws an exception if the PrivateKeySource is not a KmsKeySource.