@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.713Z") @Stability(value=Stable) public interface FluentdLogDriverProps extends software.amazon.jsii.JsiiSerializable, BaseLogDriverProps
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FluentdLogDriverProps.Builder
A builder for
FluentdLogDriverProps |
static class |
FluentdLogDriverProps.Jsii$Proxy
An implementation for
FluentdLogDriverProps |
| Modifier and Type | Method and Description |
|---|---|
static FluentdLogDriverProps.Builder |
builder() |
default String |
getAddress()
By default, the logging driver connects to localhost:24224.
|
default Boolean |
getAsyncConnect()
Docker connects to Fluentd in the background.
|
default Number |
getBufferLimit()
The amount of data to buffer before flushing to disk.
|
default Number |
getMaxRetries()
The maximum number of retries.
|
default Duration |
getRetryWait()
How long to wait between retries.
|
default Boolean |
getSubSecondPrecision()
Generates event logs in nanosecond resolution.
|
getEnv, getEnvRegex, getLabels, getTag@Stability(value=Stable) @Nullable default String getAddress()
Supply the address option to connect to a different address. tcp(default) and unix sockets are supported.
Default: - address not set.
@Stability(value=Stable) @Nullable default Boolean getAsyncConnect()
Messages are buffered until the connection is established.
Default: - false
@Stability(value=Stable) @Nullable default Number getBufferLimit()
Default: - The amount of RAM available to the container.
@Stability(value=Stable) @Nullable default Number getMaxRetries()
Default: - 4294967295 (2**32 - 1).
@Stability(value=Stable) @Nullable default Duration getRetryWait()
Default: - 1 second
@Stability(value=Stable) @Nullable default Boolean getSubSecondPrecision()
Default: - false
@Stability(value=Stable) static FluentdLogDriverProps.Builder builder()
builder in interface BaseLogDriverPropsFluentdLogDriverProps.Builder of FluentdLogDriverPropsCopyright © 2022. All rights reserved.