In the Azure Portal the Static Web App has a tab to link an Application Insights instance to the Static Web App:

I'm looking for a way to configure this section via Bicep, but I can't find anything in the Microsoft docs about how to configure it.
So my question is how can I link an Application Insights instance to a Static Web App instance via Bicep template?
Refer