"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.GenericLogDriver=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 GenericLogDriver extends log_driver_1.LogDriver{constructor(props){super();jsiiDeprecationWarnings.aws_cdk_lib_aws_ecs_GenericLogDriverProps(props),this.logDriver=props.logDriver,this.options=props.options||{},this.secretOptions=props.secretOptions}bind(_scope,_containerDefinition){return jsiiDeprecationWarnings.aws_cdk_lib_aws_ecs_ContainerDefinition(_containerDefinition),{logDriver:this.logDriver,options:utils_1.removeEmpty(this.options),secretOptions:this.secretOptions&&utils_1.renderLogDriverSecretOptions(this.secretOptions,_containerDefinition.taskDefinition)}}}exports.GenericLogDriver=GenericLogDriver,_a=JSII_RTTI_SYMBOL_1,GenericLogDriver[_a]={fqn:"aws-cdk-lib.aws_ecs.GenericLogDriver",version:"2.13.0"};
//# sourceMappingURL=generic-log-driver.js.map
