[{"data":1,"prerenderedAt":81},["ShallowReactive",2],{"pattern-eventbridge-api-destinations-datadog":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":34,"level":35,"meta":36,"patternArch":37,"resources":59,"s3URL":6,"services":74,"stem":75,"testing":76,"videoId":56,"__hash__":80},"patterns\u002Fpatterns\u002Feventbridge-api-destinations-datadog.json","Amazon EventBridge API Destinations to Datadog",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\u002Fomid-khan.json",{"text":15},[16,17],"cd .\u002F7-datadog","sam deploy --guided","Create an EventBridge rule and API destination to route events to Datadog","json","AWS SAM",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"eventbridge-api-destinations","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-api-destinations","serverless-patterns\u002Feventbridge-api-destinations","7-datadog\u002FDataDogApiDestination.yml",{"headline":28,"text":29},"How it works",[30,31,32,33],"This pattern creates an API Destination for the Datadog Send Logs API. Once deployed, the pattern allows a user to send events easily through EventBridge to Datadog logs. The pattern creates the following resources: EventBridge Bus, EventBridge Connection, EventBridge API Destination, EventBridge rule, IAM role, and SQS queue.","The EventBridge rule uses the API Destination and Connection as a target, SQS queue as a DLQ, and the IAM role as its role. To send events go to the bus and send sample events. To send a log enter “MyDataDogApp” for the source, the bus created by the pattern for the Event Bus Name, and any call that follows the format for the sending logs as the detail (https:\u002F\u002Fdocs.datadoghq.com\u002Fapi\u002Flatest\u002Flogs\u002F#send-logs).","The following information is needed to use the pattern: Datadog API key: To create the AUTH for the EventBridge Connection.","The IAM role created by the pattern only has the permission to allow InvokeApiDestination access to the EventBridge rule.","YAML","100",{},{"icon1":38,"group":43,"icon2":47,"icon3":50,"line1":53,"line2":57},{"x":39,"y":40,"service":41,"label":42},20,50,"eventbridge","EventBridge rule",{"x":40,"y":39,"w":44,"h":45,"label":46},45,60,"API Destinations",{"x":45,"y":40,"service":48,"label":49},"eventbridge-connection.png","Connection",{"x":51,"y":40,"service":52,"label":46},85,"eventbridge-api.png",{"from":54,"to":55,"label":56},"icon1","icon2","",{"from":55,"to":58,"label":56},"icon3",{"headline":60,"bullets":61},"Additional resources",[62,65,68,71],{"text":63,"link":64},"Datadag: Add an API key or client token","https:\u002F\u002Fdocs.datadoghq.com\u002Faccount_management\u002Fapi-app-keys\u002F#add-an-api-key-or-client-token",{"text":66,"link":67},"Datadog: Send logs","https:\u002F\u002Fdocs.datadoghq.com\u002Fapi\u002Flatest\u002Flogs\u002F#send-logs",{"text":69,"link":70},"Tutorial: Create a connection to Datadog as an API destination","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-tutorial-datadog.html",{"text":72,"link":73},"Using API destinations with Amazon EventBridge","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fusing-api-destinations-with-amazon-eventbridge\u002F",{"from":41,"to":41},"patterns\u002Feventbridge-api-destinations-datadog",{"headline":77,"text":78},"Testing",[79],"See the GitHub repo for detailed testing instructions.","yvq41L-pq3_bqX3NVDPhNZdvx6-Bi39tlOUxlQ5oc3U",1779878116705]