#✅ - Lambda Scheduling

4 messages · Page 1 of 1 (latest)

pine forge
#

Using Amplify gen2, I want to create a lambda function (A) that creates a new schedule instance for another amplify-created lambda function (B). Using the aws sdk SchedulerClient, I can create a new schedule with new arguments, but I need to specify the FunctionArn and assumed RoleArn of the Schedule target. How can I access the ARN of lambda B and the ARN of the created Role within lambda A?

Project structure:
Lambda A + Lambda B => Created with amplify gen 2 inside the backend.ts file
Role => created using aws-cdk-lib/aws-iam in my backend.ts file

worldly moth
#

Hey dude, did you manage to achieve this?

sly cairn
wise flameBOT
#

✅ - Lambda Scheduling