This pattern may provide some good ideas to implement something what you are looking for https://aws.amazon.com/blogs/mt/tracking-aws-service-catalog-products-provisioned-by-individual-saml-users/.
It has the following approach that can be extended for your case
- The user provisions a product after authenticating to AWS Service Catalog.
- AWS Service Catalog launches an AWS CloudFormation template in response to the user’s request.
- An AWS Lambda function is invoked based on the Amazon CloudWatch rule triggered by the CloudFormation CreateStack event.
- The Lambda function reads the User Name and CloudFormation stack ID from the event record and stores this information in an Amazon DynamoDB database.
- The CloudFormation template provisions a custom resource that invokes the AWS Lambda function.
- The Lambda function reads the user name from the Amazon DynamoDB record associated with the CloudFormation stack ID and returns this information back to the CloudFormation template.
You may need to add your own logic to this approach and do a POC to see if it works for your needs.
- Accepted Answerasked 4 years ago
- asked 6 months ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- How do I troubleshoot Lambda function throttling with "Rate exceeded" and 429 "TooManyRequestsException" errors?AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 8 months ago
- EXPERTpublished 7 months ago
- A Brief Primer to Onboarding Data To a Healthcare and Life Sciences Data Mesh Leveraging AWS ServicesEXPERTpublished 7 months ago