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.

Source

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();
 
  • Method Details

    • getAddress

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Boolean getAsyncConnect()
      Docker connects to Fluentd in the background.

      Messages are buffered until the connection is established.

      Default: - false

    • getBufferLimit

      @Stability(Stable) @Nullable default Number getBufferLimit()
      The amount of data to buffer before flushing to disk.

      Default: - The amount of RAM available to the container.

    • getMaxRetries

      @Stability(Stable) @Nullable default Number getMaxRetries()
      The maximum number of retries.

      Default: - 4294967295 (2**32 - 1).

    • getRetryWait

      @Stability(Stable) @Nullable default Duration getRetryWait()
      How long to wait between retries.

      Default: - 1 second

    • getSubSecondPrecision

      @Stability(Stable) @Nullable default Boolean getSubSecondPrecision()
      Generates event logs in nanosecond resolution.

      Default: - false

    • builder

      @Stability(Stable) static FluentdLogDriverProps.Builder builder()
      Returns:
      a FluentdLogDriverProps.Builder of FluentdLogDriverProps