Interface SyslogLogDriverProps

All Superinterfaces:
BaseLogDriverProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SyslogLogDriverProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:29.368Z") @Stability(Stable) public interface SyslogLogDriverProps extends software.amazon.jsii.JsiiSerializable, BaseLogDriverProps
Specifies the syslog 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.*;
 SyslogLogDriverProps syslogLogDriverProps = SyslogLogDriverProps.builder()
         .address("address")
         .env(List.of("env"))
         .envRegex("envRegex")
         .facility("facility")
         .format("format")
         .labels(List.of("labels"))
         .tag("tag")
         .tlsCaCert("tlsCaCert")
         .tlsCert("tlsCert")
         .tlsKey("tlsKey")
         .tlsSkipVerify(false)
         .build();
 
  • Method Details

    • getAddress

      @Stability(Stable) @Nullable default String getAddress()
      The address of an external syslog server.

      The URI specifier may be [tcp|udp|tcp+tls]://host:port, unix://path, or unixgram://path.

      Default: - If the transport is tcp, udp, or tcp+tls, the default port is 514.

    • getFacility

      @Stability(Stable) @Nullable default String getFacility()
      The syslog facility to use.

      Can be the number or name for any valid syslog facility. See the syslog documentation: https://tools.ietf.org/html/rfc5424#section-6.2.1.

      Default: - facility not set

    • getFormat

      @Stability(Stable) @Nullable default String getFormat()
      The syslog message format to use.

      If not specified the local UNIX syslog format is used, without a specified hostname. Specify rfc3164 for the RFC-3164 compatible format, rfc5424 for RFC-5424 compatible format, or rfc5424micro for RFC-5424 compatible format with microsecond timestamp resolution.

      Default: - format not set

    • getTlsCaCert

      @Stability(Stable) @Nullable default String getTlsCaCert()
      The absolute path to the trust certificates signed by the CA.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsCaCert not set

    • getTlsCert

      @Stability(Stable) @Nullable default String getTlsCert()
      The absolute path to the TLS certificate file.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsCert not set

    • getTlsKey

      @Stability(Stable) @Nullable default String getTlsKey()
      The absolute path to the TLS key file.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsKey not set

    • getTlsSkipVerify

      @Stability(Stable) @Nullable default Boolean getTlsSkipVerify()
      If set to true, TLS verification is skipped when connecting to the syslog daemon.

      Ignored if the address protocol is not tcp+tls.

      Default: - false

    • builder

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