AWS QuickSight analysis customization and creation as CDK code

0

Hello, I have been trying to automate the deployment of a QuickSight analysis using CDK code and I'm having troubles configuring the filters of the analysis. Specifically, I have a relative dates filter in the the analysis template, while trying to use various filter properties (ex: FilterProperty(), RelativeDatesFilterProperty) under the Cfn.Analysis class to change the specific configurations of the filter. Are there any workarounds for reducing the need for a QuickSight template or are L2 constructs unsupported in the CDK as of right now?

質問済み 5ヶ月前239ビュー
1回答
0

In my experience, starting off with CDK is futile and an exercise in frustration.

My winning approach has been to do everything thru the UI, and then use the asset export feature to dump the configuration into CloudFormation JSON. Then use CfnInclude to load up the template from the file. At this point, you can just deploy it as-is. But sometimes I also use the CDK interface to manipulate the existing template to my needs.

This approach is also not perfect, and asset export is also full of bugs, where freshly exported templates will not deploy (will not pass validation). Still, usually, most errors are pretty obvious and with minimal JSON editing you can get it to work and deploy.

profile picture
m0ltar
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ