Hi Team,
I have a requirement to automate QS dashboard creation programmatically. We need to create a template before we create the analysis or dashboard. However to create template we need an analysis. Looks like there is a new feature to create a template using Definitions. However i am looking for a sample code as the code given here class CfnDashboard (construct) · AWS CDK
class CfnAnalysis (construct) · AWS CDK is huge and it is confusing. Has anyone automated the dashbaord creation?
I would look at this blog post.
These apis allow you to create analysis from JSON.
Depending on what you are looking for you could create an analysis first, then describe it, and use that as a basis for all new analysis.
You will need to modify a bit of the JSON after describing it, but it’s not too much. It’s described a bit in the blog.