Class JournaldLogDriver
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.LogDriver
software.amazon.awscdk.services.ecs.JournaldLogDriver
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.405Z")
@Stability(Stable)
public class JournaldLogDriver
extends LogDriver
A log driver that sends log information to journald 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.*;
JournaldLogDriver journaldLogDriver = JournaldLogDriver.Builder.create()
.env(List.of("env"))
.envRegex("envRegex")
.labels(List.of("labels"))
.tag("tag")
.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 JournaldLogDriver class.Constructs a new instance of the JournaldLogDriver class.protectedJournaldLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedJournaldLogDriver(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(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
-
JournaldLogDriver
protected JournaldLogDriver(software.amazon.jsii.JsiiObjectRef objRef) -
JournaldLogDriver
protected JournaldLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
JournaldLogDriver
Constructs a new instance of the JournaldLogDriver class.- Parameters:
props- the journald log driver configuration options.
-
JournaldLogDriver
@Stability(Stable) public JournaldLogDriver()Constructs a new instance of the JournaldLogDriver class.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public LogDriverConfig bind(@NotNull Construct _scope, @NotNull ContainerDefinition _containerDefinition) Called when the log driver is configured on a container.
-