MCPcopy Create free account
hub / github.com/aws-samples/aws-cdk-examples / lambda_handler

Function lambda_handler

go/step-functions/lambda/status/index.py:1–5  ·  view source on GitHub ↗
(event, context)

Source from the content-addressed store, hash-verified

1def lambda_handler(event, context):
2 if event["status"] == "SUCCEEDED":
3 return {"status": "SUCCEEDED", "event": event}
4 else:
5 return {"status": "FAILED", "event": event}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected