So i have a post confirmation trigger in AWS cognito that inserts a signed up user into my dynamoDB table.
Issue is that im using AWS Amplify & AppSync to query that table via graphql. There are @auth directives that i want to add onto this table to allow only the actual user to edit their user metadata in dynamoDB. My question is, who is the owner of that record if it was actually created via the post confirmation lambda function?