Class SyslogLogDriverProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.SyslogLogDriverProps.Jsii$Proxy
All Implemented Interfaces:
BaseLogDriverProps, SyslogLogDriverProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
SyslogLogDriverProps

@Stability(Stable) @Internal public static final class SyslogLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SyslogLogDriverProps
An implementation for SyslogLogDriverProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(SyslogLogDriverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SyslogLogDriverProps.Builder.
  • Method Details

    • getAddress

      public final String getAddress()
      Description copied from interface: SyslogLogDriverProps
      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.

      Specified by:
      getAddress in interface SyslogLogDriverProps
    • getFacility

      public final String getFacility()
      Description copied from interface: SyslogLogDriverProps
      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

      Specified by:
      getFacility in interface SyslogLogDriverProps
    • getFormat

      public final String getFormat()
      Description copied from interface: SyslogLogDriverProps
      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

      Specified by:
      getFormat in interface SyslogLogDriverProps
    • getTlsCaCert

      public final String getTlsCaCert()
      Description copied from interface: SyslogLogDriverProps
      The absolute path to the trust certificates signed by the CA.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsCaCert not set

      Specified by:
      getTlsCaCert in interface SyslogLogDriverProps
    • getTlsCert

      public final String getTlsCert()
      Description copied from interface: SyslogLogDriverProps
      The absolute path to the TLS certificate file.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsCert not set

      Specified by:
      getTlsCert in interface SyslogLogDriverProps
    • getTlsKey

      public final String getTlsKey()
      Description copied from interface: SyslogLogDriverProps
      The absolute path to the TLS key file.

      Ignored if the address protocol is not tcp+tls.

      Default: - tlsKey not set

      Specified by:
      getTlsKey in interface SyslogLogDriverProps
    • getTlsSkipVerify

      public final Boolean getTlsSkipVerify()
      Description copied from interface: SyslogLogDriverProps
      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

      Specified by:
      getTlsSkipVerify in interface SyslogLogDriverProps
    • getEnv

      public final List<String> getEnv()
      Description copied from interface: BaseLogDriverProps
      The env option takes an array of keys.

      If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.

      Default: - No env

      Specified by:
      getEnv in interface BaseLogDriverProps
    • getEnvRegex

      public final String getEnvRegex()
      Description copied from interface: BaseLogDriverProps
      The env-regex option is similar to and compatible with env.

      Its value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.

      Default: - No envRegex

      Specified by:
      getEnvRegex in interface BaseLogDriverProps
    • getLabels

      public final List<String> getLabels()
      Description copied from interface: BaseLogDriverProps
      The labels option takes an array of keys.

      If there is collision between label and env keys, the value of the env takes precedence. Adds additional fields to the extra attributes of a logging message.

      Default: - No labels

      Specified by:
      getLabels in interface BaseLogDriverProps
    • getTag

      public final String getTag()
      Description copied from interface: BaseLogDriverProps
      By default, Docker uses the first 12 characters of the container ID to tag log messages.

      Refer to the log tag option documentation for customizing the log tag format.

      Default: - The first 12 characters of the container ID

      Specified by:
      getTag in interface BaseLogDriverProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object