asAwsEncryptionKey
Casts this EncryptionKeyConfiguration as a AwsEncryptionKey and retrieves its aws.sdk.kotlin.services.odb.model.AwsEncryptionKeyConfiguration value. Throws an exception if the EncryptionKeyConfiguration is not a AwsEncryptionKey.