[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-lambda-ses":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":34,"level":35,"meta":36,"patternArch":37,"resources":50,"s3URL":6,"services":59,"stem":60,"testing":61,"videoId":28,"__hash__":65},"patterns\u002Fpatterns\u002Flambda-ses.json","AWS Lambda to SES",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\u002Fcurtis-darst.json",{"text":15},[16],"sam deploy --guided","Creates a Lambda function that sends an email with Amazon SES.","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"lambda-ses","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-ses","serverless-patterns\u002Flambda-ses","template.yaml",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31,"test":28},"How it works",[32,33],"When invoked, Lambda sends an email to Amazon SES. You can customize the email based on the needs of your application by supplying the function with the event contents.","The email address of the sender ('from') is provided in the AWS SAM deployment. This email message can contain both plain text and HTML content. The body and subject of the email message are passed into the function as an event. The receiver email address is also supplied in the event.","Node.js","100",{},{"icon1":38,"icon2":43,"line1":47},{"x":39,"y":40,"service":41,"label":42},20,50,"lambda","AWS Lambda",{"x":44,"y":40,"service":45,"label":46},80,"ses","Simple Email Service",{"from":48,"to":49,"label":28},"icon1","icon2",{"headline":51,"bullets":52},"Additional resources",[53,56],{"text":54,"link":55},"Amazon SES documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fses\u002Flatest\u002FDeveloperGuide\u002FWelcome.html",{"text":57,"link":58},"AWS Lambda documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html",{"from":41,"to":41},"patterns\u002Flambda-ses",{"headline":62,"text":63},"Testing",[64],"See the GitHub repo for detailed testing instructions.","kj08DTw9AjwYiQIWC22o-uHllIzC3oOBS75GUzt_VSY",1779273337730]