No, CodeBuild will make one API call to retrieve the entire MyDatabaseSecret secret.
MyDatabaseSecret