Interface FluentdLogDriverProps
- All Superinterfaces:
BaseLogDriverProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FluentdLogDriverProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:14.630Z")
@Stability(Stable)
public interface FluentdLogDriverProps
extends software.amazon.jsii.JsiiSerializable, BaseLogDriverProps
Specifies the fluentd log driver configuration options.
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.*; FluentdLogDriverProps fluentdLogDriverProps = FluentdLogDriverProps.builder() .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFluentdLogDriverProps
static final class
An implementation forFluentdLogDriverProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
By default, the logging driver connects to localhost:24224.default Boolean
Docker connects to Fluentd in the background.default Number
The amount of data to buffer before flushing to disk.default Number
The maximum number of retries.default Duration
How long to wait between retries.default Boolean
Generates event logs in nanosecond resolution.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseLogDriverProps
getEnv, getEnvRegex, getLabels, getTag
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddress
By default, the logging driver connects to localhost:24224.Supply the address option to connect to a different address. tcp(default) and unix sockets are supported.
Default: - address not set.
-
getAsyncConnect
Docker connects to Fluentd in the background.Messages are buffered until the connection is established.
Default: - false
-
getBufferLimit
The amount of data to buffer before flushing to disk.Default: - The amount of RAM available to the container.
-
getMaxRetries
The maximum number of retries.Default: - 4294967295 (2**32 - 1).
-
getRetryWait
How long to wait between retries.Default: - 1 second
-
getSubSecondPrecision
Generates event logs in nanosecond resolution.Default: - false
-
builder
- Returns:
- a
FluentdLogDriverProps.Builder
ofFluentdLogDriverProps
-