Interface FluentdLogDriverProps
- All Superinterfaces:
BaseLogDriverProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FluentdLogDriverProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.369Z")
@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.services.ecs.*;
import software.amazon.awscdk.core.*;
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFluentdLogDriverPropsstatic final classAn implementation forFluentdLogDriverProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringBy default, the logging driver connects to localhost:24224.default BooleanDocker connects to Fluentd in the background.default NumberThe amount of data to buffer before flushing to disk.default NumberThe maximum number of retries.default DurationHow long to wait between retries.default BooleanGenerates event logs in nanosecond resolution.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseLogDriverProps
getEnv, getEnvRegex, getLabels, getTagMethods 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.BuilderofFluentdLogDriverProps
-