"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.FluentdLogDriver=void 0;const jsiiDeprecationWarnings=require("../../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),log_driver_1=require("./log-driver"),utils_1=require("./utils");class FluentdLogDriver extends log_driver_1.LogDriver{constructor(props={}){super();this.props=props,jsiiDeprecationWarnings.aws_cdk_lib_aws_ecs_FluentdLogDriverProps(props)}bind(_scope,_containerDefinition){return jsiiDeprecationWarnings.aws_cdk_lib_aws_ecs_ContainerDefinition(_containerDefinition),{logDriver:"fluentd",options:utils_1.stringifyOptions({"fluentd-address":this.props.address,"fluentd-async-connect":this.props.asyncConnect,"fluentd-buffer-limit":this.props.bufferLimit,"fluentd-retry-wait":this.props.retryWait&&this.props.retryWait.toSeconds(),"fluentd-max-retries":this.props.maxRetries,"fluentd-sub-second-precision":this.props.subSecondPrecision,...utils_1.renderCommonLogDriverOptions(this.props)})}}}exports.FluentdLogDriver=FluentdLogDriver,_a=JSII_RTTI_SYMBOL_1,FluentdLogDriver[_a]={fqn:"aws-cdk-lib.aws_ecs.FluentdLogDriver",version:"2.13.0"};
//# sourceMappingURL=fluentd-log-driver.js.map
