"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SyslogLogDriver=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var log_driver_1=()=>{var tmp=require("./log-driver");return log_driver_1=()=>tmp,tmp},utils_1=()=>{var tmp=require("./utils");return utils_1=()=>tmp,tmp};class SyslogLogDriver extends log_driver_1().LogDriver{constructor(props={}){super(),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_SyslogLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,SyslogLogDriver),error}}bind(_scope,_containerDefinition){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_ContainerDefinition(_containerDefinition)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{logDriver:"syslog",options:(0,utils_1().stringifyOptions)({"syslog-address":this.props.address,"syslog-facility":this.props.facility,"syslog-tls-ca-cert":this.props.tlsCaCert,"syslog-tls-cert":this.props.tlsCert,"syslog-tls-key":this.props.tlsKey,"syslog-tls-skip-verify":this.props.tlsSkipVerify,"syslog-format":this.props.format,...(0,utils_1().renderCommonLogDriverOptions)(this.props)})}}}exports.SyslogLogDriver=SyslogLogDriver,_a=JSII_RTTI_SYMBOL_1,SyslogLogDriver[_a]={fqn:"aws-cdk-lib.aws_ecs.SyslogLogDriver",version:"2.148.1"};
