cdk流利的日志驱动程序 cdk-fluentd-log-driver提供帮助功能,该功能将fluentd日志驱动程序用于您的ECS任务定义。 概要 import { ContainerImage , Ec2TaskDefinition } from "@aws-cdk/aws-ecs" import { Stack } from "@aws-cdk/core" ; import { FluentdLogDriver } from "@cohalz/cdk-fluentd-log-driver" ; const stack = new Stack ( ) const taskDefinition = new Ec2TaskDefinition ( stack , "TaskDefinition" ) const logDriver = new FluentdLogDriver ( {