UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 3.58 kB
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LogDrivers=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var aws_log_driver_1=()=>{var tmp=require("./aws-log-driver");return aws_log_driver_1=()=>tmp,tmp},firelens_log_driver_1=()=>{var tmp=require("./firelens-log-driver");return firelens_log_driver_1=()=>tmp,tmp},fluentd_log_driver_1=()=>{var tmp=require("./fluentd-log-driver");return fluentd_log_driver_1=()=>tmp,tmp},gelf_log_driver_1=()=>{var tmp=require("./gelf-log-driver");return gelf_log_driver_1=()=>tmp,tmp},journald_log_driver_1=()=>{var tmp=require("./journald-log-driver");return journald_log_driver_1=()=>tmp,tmp},json_file_log_driver_1=()=>{var tmp=require("./json-file-log-driver");return json_file_log_driver_1=()=>tmp,tmp},splunk_log_driver_1=()=>{var tmp=require("./splunk-log-driver");return splunk_log_driver_1=()=>tmp,tmp},syslog_log_driver_1=()=>{var tmp=require("./syslog-log-driver");return syslog_log_driver_1=()=>tmp,tmp};class LogDrivers{static awsLogs(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_AwsLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.awsLogs),error}return new(aws_log_driver_1()).AwsLogDriver(props)}static fluentd(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_FluentdLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fluentd),error}return new(fluentd_log_driver_1()).FluentdLogDriver(props)}static gelf(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_GelfLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.gelf),error}return new(gelf_log_driver_1()).GelfLogDriver(props)}static journald(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_JournaldLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.journald),error}return new(journald_log_driver_1()).JournaldLogDriver(props)}static jsonFile(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_JsonFileLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.jsonFile),error}return new(json_file_log_driver_1()).JsonFileLogDriver(props)}static splunk(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_SplunkLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.splunk),error}return new(splunk_log_driver_1()).SplunkLogDriver(props)}static syslog(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_SyslogLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.syslog),error}return new(syslog_log_driver_1()).SyslogLogDriver(props)}static firelens(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_FireLensLogDriverProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.firelens),error}return new(firelens_log_driver_1()).FireLensLogDriver(props)}}exports.LogDrivers=LogDrivers,_a=JSII_RTTI_SYMBOL_1,LogDrivers[_a]={fqn:"aws-cdk-lib.aws_ecs.LogDrivers",version:"2.185.0"};