@thousands-hairdresser-72380 hello. I was just watching the recording of the Pulumi Contributor Community Meeting. Regarding your question on structural representation of infrastructure, you can use our YAML support for custom resources, if you distribute your custom resources as a Pulumi Package (aka Multi-Language Component).
https://www.pulumi.com/blog/pulumiup-pulumi-packages-multi-language-components/