aws step functions dynamodb service integration & updating dynamic items
I'm working on a step function state machine and can create lambdas in python and node to update an existing item in ddb. However, I can't seem to find any examples with service integrations AND dynamic variables. The only ones I come across have static variable inserts/updates. In my case I am passing in data from an upstream lambda in python (which I am not so experienced with). Seems straightforward but I think my issue is json vs. dynamodb json. Thanks in advance.
If your issue is with DynamoDB JSON vs JSON, then I suggest that you use the abstract document clients. This allows you to use native JSON which is more easy to understand. You can see Boto3 (Python) Examples here where it updates items using Table Resource
You also mention Node, which you can achieve the same with, examples here and the documentation is here NodeV2 , NodeV3.
Passing dynamic variables to Lambda come in the form of an event object. More info here
Hope that helps your issue.
Relevant questions
Can not create a stepfunction with create-state-machine command in docker-compose
asked 4 months agoaws step functions dynamodb service integration & updating dynamic items
Accepted Answerasked 5 months agoState Language Specification
asked 2 months agoCan I specify GET URL path parameter in step function?
asked 2 months agohow to trigger a step function from a s3 object notification?
asked a month ago[DDB] Is there batch update like batchWrite?
Accepted Answerasked a year agohow to version step functions for ML?
Accepted AnswerStep Function to Send Email on Error/Success
asked 4 months agoStep Function - dynamodb query with Boolean Filter
Accepted Answerasked 3 months agoSpecifying Execution Name for Nested Step Functions
asked 2 years ago