AssetManager.createOrUpdateAsset method is deprecated in latest SDK @giuseppebag. That is why, we were thinking to use pre-process step as asked above.
Our client is on AEM 6.5 on prem version and wants to migrate to AEMaaCS. During initial discussion - we were asked to ensure if AEMaaCS would support the Cloudfare integration for CDN or not. Is there any Adobe references that we can use to understand this ?