AWS quicksight report - amazon-quicksight

Is it possible to create aws quicksight report using conditional formatting exactly like below: [1]: https://i.stack.imgur.com/obTxR.png

Related

Is there a way to deploy a terraform file via an AWS lambda function?

As the title suggests I am looking for a way to deploy a terraform file via an AWS lambda function. I would like to deploy this file via a time-based event. This is my first time working with terraform and I cannot seem to find anything pertaining to this specific use case.
I am much more versed in CloudFormation so normally what I would do is use the boto3 library to set up a lambda function that would deploy a CloudFormation stack. Does anyone know how to do this with a terraform file?

AWS QuickSight exporting data

Is it possible to export my AWS QuickSight data programmatically?
Basically I have my data in AWS QuickSight which I need to extract so I can import it into a third party application. Manually this is easy through the "export" link on QuickSight. But I was wondering if there was a way to do this automatically? Through an API / third party connector / etc?
I am familiar with QuickSight docs and I have not seen a way to export data programmatically inside QuickSight.
There might be a third party connector. Nonetheless, more than often, your QuickSight data source should be easier to access programmatically.
Unless there is a strong reason to use QuickSight export, I will access the data source directly.

AWS Quicksight folder permissions

Can aws cli be used to grant a quicksight group (such as viewer or owner) to a quicksight folder? I can't seem to find the specific cli command.
Thanks
Yes you can do this using the update-folder-permissions api call https://docs.aws.amazon.com/cli/latest/reference/quicksight/update-folder-permissions.html
It might help to first use the list-folder-permissions on existing folders to determine the correct structure for the --grant-permissions list

Add users to AWS elasticsearch kibana dashboard through API

I'm trying to map users to kibana roles, however, when I do a GET request on _plugins/_security
I get a 401 error. I'm trying to do this from Kibana dashboard where I have all_access
role as well as from an Ec2 instance where the machine role is mapped to all_access
role. Need help in understanding how can I fix the same.
{"Message":"Your request: '/_plugins/_security' is not allowed."}
you will need to ask aws about this, as they run a fork of Elasticsearch that doesn't contain this particular functionality
On our version of AWS ES, I have to do this prefix in order to access the security API:
GET _opendistro/_security/api/roles
What you have to understand is the AWS ES does not use the "normal" ElasticSearch, it uses the OpenDistro version, therefor some commands are different.
Here is the link to the API doc for security :
https://opendistro.github.io/for-elasticsearch-docs/docs/security/access-control/api/#access-control-for-the-api

Lock Kibana Dashboard

I have set up Elastic Search and Kibana and prepared different monitoring dashboard. So how can i lock my dashboard so dashboard is visible to all and even they can apply filters and visualize but it shouldn't change original dashboard so when they open dashboard again it should be same as one which i had prepared. I tried to check elastic search website and they offer subscription for X-pack which provides role based access control. But is there anyway I can lock the dashboard rather than subscription because i used Kibana as it was open source.
Thank You in advance.
- Sam

Resources