[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-ssm-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":33,"level":34,"meta":35,"patternArch":36,"resources":49,"s3URL":6,"services":58,"stem":59,"testing":60,"videoId":28,"__hash__":64},"patterns\u002Fpatterns\u002Fssm-lambda.json","SSM to AWS Lambda",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Frevanth-reddy-tumu.json",{"text":15},[16],"sam deploy --guided","Create an SSM automation document that invokes a Lambda function","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"systems-manager-automation-to-lambda","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsystems-manager-automation-to-lambda","serverless-patterns\u002Fsystems-manager-automation-to-lambda","template.yaml",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32],"This pattern demonstrates how to invoke a Lambda function from a Systems Manager automation document and pass in the document's run time execution parameters as input payload for the Lambda function.","Python","300",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"ssm","AWS Systems Manager",{"x":43,"y":39,"service":44,"label":45},80,"lambda","AWS Lambda",{"from":47,"to":48,"label":28},"icon1","icon2",{"headline":50,"bullets":51},"Additional resources",[52,55],{"text":53,"link":54},"AWS Systems Manager Automation","https:\u002F\u002Fgithub.com\u002Fawslabs\u002Famazon-kinesis-data-generator",{"text":56,"link":57},"Invoking a Lambda function from Systems Manager Automation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fsystems-manager\u002Flatest\u002Fuserguide\u002Fautomation-action-lamb.html",{"from":40,"to":44},"patterns\u002Fssm-lambda",{"headline":61,"text":62},"Testing",[63],"See the GitHub repo for detailed testing instructions.","4UYCyAYdcTtE1sohRTOZ8HZjdaBqm5Taf4lcukOAjCY",1779273339904]