I think, The default configuration of SwiftData and CloudKit meets your needs
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: