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달 전238회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠