[{"data":1,"prerenderedAt":74},["ShallowReactive",2],{"pattern-eventbridge-stepfunction-lambda-getfunctionstatus":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":51,"s3URL":6,"services":6,"stem":69,"testing":70,"videoId":6,"__hash__":73},"patterns\u002Fpatterns\u002Feventbridge-stepfunction-lambda-getfunctionstatus.json","Publish daily list of inactive AWS Lambda functions to Amazon SNS",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fsahil-kapoor.json",{"text":13},[14],"sam deploy","Daily running Amazon EventBridge scheduler invokes a state machine to find inactive Lambda functions and publish the list to a SNS topic.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-stepfunction-lambda-getfunctionstatus","serverless-patterns\u002Feventbridge-stepfunction-lambda-getfunctionstatus","eventbridge-stepfunction-lambda-getfunctionstatus","template.yaml",{"headline":25,"text":26},"How it works",[27],"Creates a one time schedule in EventBridge scheduler with a StepFunctions state machine as target. Uses the SDK integration to find the Lambda function status, returns the list of inactive functions and publishes the list to a SNS Topic.","Python","200",{},{"icon1":32,"icon2":37,"icon3":40,"line1":44,"line2":48},{"x":33,"y":34,"service":35,"label":36},20,50,"eventbridge-scheduler","Amazon EventBridge Scheduler",{"x":34,"y":34,"service":38,"label":39},"sfn","AWS Step Function",{"x":41,"y":34,"service":42,"label":43},80,"sns","Amazon SNS",{"from":45,"to":46,"label":47},"icon1","icon2","invoked daily",{"from":46,"to":49,"label":50},"icon3","",{"bullets":52},[53,56,59,61,63,66],{"text":54,"link":55},"Introducing Amazon EventBridge Scheduler","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-amazon-eventbridge-scheduler\u002F",{"text":57,"link":58},"Amazon EventBridge Scheduler Docs","https:\u002F\u002Fdocs.aws.amazon.com\u002Fscheduler\u002Flatest\u002FUserGuide\u002Fwhat-is-scheduler.html",{"text":57,"link":60},"https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fapi\u002FAPI_ListFunctions.html",{"text":62,"link":58},"Lambda ListFunctions API",{"text":64,"link":65},"Lambda GetFunction API","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fapi\u002FAPI_GetFunction.html",{"text":67,"link":68},"SNS Publish API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fapi\u002FAPI_Publish.html","patterns\u002Feventbridge-stepfunction-lambda-getfunctionstatus",{"text":71},[72],"See the GitHub repo for detailed testing instructions.","T2Aya7u5MI4i1dfbcMZ6_Yy8fWnE-sigXZ7F3OyPd1I",1778846885434]