Step Function Fan Out to Parallel workloads

0

I am trying to pass my output from my start execution to my next step. I am trying to get the key values from Step 1 output to step 2 as inputs. I have tried filtered the output from step 1 using $.Payload Using $.Payload I get the below.

"[{"AWSMASTERDT": "2024-03-05 14:44:00", "DATALOADCONFIGID": 1, "PROC": "info.usp_Load_F7", "TABLENAME": "info.F7", "FILENAME": "F7_202403051444.csv"}]"

In step 2 of my Step Function, I receive this input as $ and map successfully into my Execute Load function a successfully. My Step 1 could return up to 7 rows that will each need to be executed in parallel.

How do I set this up?

Current setup is below.

Enter image description here

Monty
feita há 2 meses251 visualizações
1 Resposta
0

If you need to iterate over an array, use the Map state that allows you to do just that.

profile pictureAWS
ESPECIALISTA
Uri
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses
  • I will need to iterate over dictionaries provided as a payload from another Lambda Function.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas