Class FluentdLogDriver
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.LogDriver
software.amazon.awscdk.services.ecs.FluentdLogDriver
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.110Z")
@Stability(Stable)
public class FluentdLogDriver
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.*; import software.amazon.awscdk.services.ecs.*; FluentdLogDriver fluentdLogDriver = FluentdLogDriver.Builder.create() .address("address") .asyncConnect(false) .bufferLimit(123) .env(List.of("env")) .envRegex("envRegex") .labels(List.of("labels")) .maxRetries(123) .retryWait(Duration.minutes(30)) .subSecondPrecision(false) .tag("tag") .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionConstructs a new instance of the FluentdLogDriver class.Constructs a new instance of the FluentdLogDriver class.protected
FluentdLogDriver
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
FluentdLogDriver
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
FluentdLogDriver
protected FluentdLogDriver(software.amazon.jsii.JsiiObjectRef objRef) -
FluentdLogDriver
protected FluentdLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
FluentdLogDriver
Constructs a new instance of the FluentdLogDriver class.- Parameters:
props
- the fluentd log driver configuration options.
-
FluentdLogDriver
@Stability(Stable) public FluentdLogDriver()Constructs a new instance of the FluentdLogDriver 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.
-