I'm using AWS Dynamo Streams to trigger an AWS Lambda function. If the lambda function successfully invoked, I want a child lambda function to be invoked via the async invocation destination feature provided by Lambda.
Even though I've configured the async invocation with the target child Lambda function, the child function is not triggered when the parent Lambda function is successful, the child Lambda function's associated CloudWatch log group is empty.
My parent lambda has such policies: AWSLambdaInvocation-DynamoDB
(Provides read access to DynamoDB Streams), AWSLambdaFullAccess
, AWSLambdaBasicExecutionRole
Question: Why don't onSuccess and onFailure destinations work with invoking parent lambda via AWS Dynamo Streams?