For documentation on sending your FireLens monitored log data to Datadog Logs, see: Fluent Bit and Firelens.
AWS recommends that you store sensitive information, like your Datadog API Key using secretOptions as shown in the example Task Definition. This is optional; it is also valid to simply specify the API Key in options map:
"logConfiguration": {
"logDriver":"awsfirelens",
"options": {
"name": "datadog",
"apiKey": "<DATADOG_API_KEY>",
"dd_service": "my-httpd-service",
"dd_source": "httpd",
"dd_tags": "project:example",
"provider": "ecs"
}
},