I would create a batch to add users to a quicksight group which is triggered when a Quicksight user log in for the first time.
How can I detect whether or not there is a new Quicksight user was be created.
As I unerstand, If the user has not created already, it cannot create himself and logged in.
regards,
Naveed Ali
Thank you for your reply.
I just want to know when a new user log in at the first time how to detect it?
if it be detected ,is it possible to use that batch which can add users to a Quicksight group.
Hi @u.sai ,
You could use cloud trail events to grab the last user activity and determine based on the result.
sample CLI:
aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=quicksight.amazonaws.com AttributeKey=EventName,AttributeValue=GetDashboard --max-results 1
Thanks,
Naveen
1 Like