Data warehousing with AWS QuickSightPython
AWS QuickSight is a managed service by Amazon for Business Intelligence needs. While Pulumi provides comprehensive IaC (infrastructure as code) capability, creating Amazon QuickSight resources such as data sets and analysis directly using Pulumi is, unfortunately, not currently supported. One of the reasons is that QuickSight is focused more on the application layer rather than infrastructure setup.
But don't worry! You can configure the underlying infrastructure for Quicksight using Pulumi. For example, you can setup an Amazon RedShift cluster as a data warehouse which can then be connected to QuickSight for satisfying your business intelligence needs.
Here is a simple Pulumi program that creates an Amazon Redshift cluster:
Please note that this code is for illustrative purposes and may require modifications based on your specific requirements such as networking (VPC, security group setup), cluster configurations (single-node or multi-node), etc.
You would then proceed to connect this RedShift cluster as a data source in QuickSight through the QuickSight console. Please consult the AWS QuickSight user guide to connect Amazon RedShift as data source.
This Pulumi code sets up only the infrastructure part of the pipeline. For application-level setups like creating visualizations and analyses, you would use the AWS QuickSight's console or API.
You can refer to the Pulumi Redshift Documentation for more details on how to provision Redshift clusters using Pulumi.