1

I would like to schedule the trigger of Lambda from Aws Java Sdk, the schedule could be more than a year from now, so SQS might not be an option. Is this possible?

I cannot find any example in the web and in their sdk documentation.

1 Answer 1

2

you cannot schedule the lambda directly. The first link you provided outlines what you need to do.

So the gist of it, is that you need to create a cloudwatch event and wire it up to trigger the lambda function when it fires. you should be able to do this by looking at the SDK documentation.

Sign up to request clarification or add additional context in comments.

1 Comment

cloudwatch events PutRule method and lamda AddPermission method (you need to add the permission for the lambda function to get the event)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.