CDKTF with gitlab provider to managing groups, sub-groups and repositories

I’m newbie with CDK. Performing a PoC (Python) for managing gitlab groups, sub-groups and repositories. Whatever I tried didn’t work.
Do you have a working example for this use case?