Class SyslogLogDriver
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.LogDriver
software.amazon.awscdk.services.ecs.SyslogLogDriver
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.621Z")
@Stability(Stable)
public class SyslogLogDriver
extends LogDriver
A log driver that sends log information to syslog Logs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
SyslogLogDriver syslogLogDriver = SyslogLogDriver.Builder.create()
.address("address")
.env(List.of("env"))
.envRegex("envRegex")
.facility("facility")
.format("format")
.labels(List.of("labels"))
.tag("tag")
.tlsCaCert("tlsCaCert")
.tlsCert("tlsCert")
.tlsKey("tlsKey")
.tlsSkipVerify(false)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new instance of the SyslogLogDriver class.Constructs a new instance of the SyslogLogDriver class.protectedSyslogLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSyslogLogDriver(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(software.constructs.Construct _scope, ContainerDefinition _containerDefinition) Called when the log driver is configured on a container.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SyslogLogDriver
protected SyslogLogDriver(software.amazon.jsii.JsiiObjectRef objRef) -
SyslogLogDriver
protected SyslogLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SyslogLogDriver
Constructs a new instance of the SyslogLogDriver class.- Parameters:
props- the syslog log driver configuration options.
-
SyslogLogDriver
@Stability(Stable) public SyslogLogDriver()Constructs a new instance of the SyslogLogDriver class.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public LogDriverConfig bind(@NotNull software.constructs.Construct _scope, @NotNull ContainerDefinition _containerDefinition) Called when the log driver is configured on a container.
-