Class SplunkLogDriverProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class SplunkLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SplunkLogDriverProps
An implementation for SplunkLogDriverProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.SplunkLogDriverProps

    SplunkLogDriverProps.Builder, SplunkLogDriverProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the SplunkLogDriverProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    Name to use for validating server certificate.
    final String
    Path to root certificate.
    final List<String>
    The env option takes an array of keys.
    final String
    The env-regex option is similar to and compatible with env.
    Message format.
    final Boolean
    Enable/disable gzip compression to send events to Splunk Enterprise or Splunk Cloud instance.
    final Number
    Set compression level for gzip.
    final String
    Event index.
    final String
    Ignore server certificate validation.
    final List<String>
    The labels option takes an array of keys.
    final Secret
    Splunk HTTP Event Collector token (Secret).
    final String
    Event source.
    final String
    Event source type.
    final String
    By default, Docker uses the first 12 characters of the container ID to tag log messages.
    (deprecated) Splunk HTTP Event Collector token.
    final String
    Path to your Splunk Enterprise, self-service Splunk Cloud instance, or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector) in one of the following formats: https://your_splunk_instance:8088 or https://input-prd-p-XXXXXXX.cloud.splunk.com:8088 or https://http-inputs-XXXXXXXX.splunkcloud.com.
    final Boolean
    Verify on start, that docker can connect to Splunk server.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(SplunkLogDriverProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SplunkLogDriverProps.Builder.
  • Method Details

    • getUrl

      public final String getUrl()
      Description copied from interface: SplunkLogDriverProps
      Path to your Splunk Enterprise, self-service Splunk Cloud instance, or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector) in one of the following formats: https://your_splunk_instance:8088 or https://input-prd-p-XXXXXXX.cloud.splunk.com:8088 or https://http-inputs-XXXXXXXX.splunkcloud.com.
      Specified by:
      getUrl in interface SplunkLogDriverProps
    • getCaName

      public final String getCaName()
      Description copied from interface: SplunkLogDriverProps
      Name to use for validating server certificate.

      Default: - The hostname of the splunk-url

      Specified by:
      getCaName in interface SplunkLogDriverProps
    • getCaPath

      public final String getCaPath()
      Description copied from interface: SplunkLogDriverProps
      Path to root certificate.

      Default: - caPath not set.

      Specified by:
      getCaPath in interface SplunkLogDriverProps
    • getFormat

      public final SplunkLogFormat getFormat()
      Description copied from interface: SplunkLogDriverProps
      Message format.

      Can be inline, json or raw.

      Default: - inline

      Specified by:
      getFormat in interface SplunkLogDriverProps
    • getGzip

      public final Boolean getGzip()
      Description copied from interface: SplunkLogDriverProps
      Enable/disable gzip compression to send events to Splunk Enterprise or Splunk Cloud instance.

      Default: - false

      Specified by:
      getGzip in interface SplunkLogDriverProps
    • getGzipLevel

      public final Number getGzipLevel()
      Description copied from interface: SplunkLogDriverProps
      Set compression level for gzip.

      Valid values are -1 (default), 0 (no compression), 1 (best speed) ... 9 (best compression).

      Default: - -1 (Default Compression)

      Specified by:
      getGzipLevel in interface SplunkLogDriverProps
    • getIndex

      public final String getIndex()
      Description copied from interface: SplunkLogDriverProps
      Event index.

      Default: - index not set.

      Specified by:
      getIndex in interface SplunkLogDriverProps
    • getInsecureSkipVerify

      public final String getInsecureSkipVerify()
      Description copied from interface: SplunkLogDriverProps
      Ignore server certificate validation.

      Default: - insecureSkipVerify not set.

      Specified by:
      getInsecureSkipVerify in interface SplunkLogDriverProps
    • getSecretToken

      public final Secret getSecretToken()
      Description copied from interface: SplunkLogDriverProps
      Splunk HTTP Event Collector token (Secret).

      The splunk-token is added to the SecretOptions property of the Log Driver Configuration. So the secret value will not be resolved or viewable as plain text.

      Please provide at least one of token or secretToken.

      Default: - If secret token is not provided, then the value provided in `token` will be used.

      Specified by:
      getSecretToken in interface SplunkLogDriverProps
    • getSource

      public final String getSource()
      Description copied from interface: SplunkLogDriverProps
      Event source.

      Default: - source not set.

      Specified by:
      getSource in interface SplunkLogDriverProps
    • getSourceType

      public final String getSourceType()
      Description copied from interface: SplunkLogDriverProps
      Event source type.

      Default: - sourceType not set.

      Specified by:
      getSourceType in interface SplunkLogDriverProps
    • getToken

      public final SecretValue getToken()
      Description copied from interface: SplunkLogDriverProps
      (deprecated) Splunk HTTP Event Collector token.

      The splunk-token is added to the Options property of the Log Driver Configuration. So the secret value will be resolved and viewable in plain text in the console.

      Please provide at least one of token or secretToken.

      Default: - token not provided.

      Specified by:
      getToken in interface SplunkLogDriverProps
    • getVerifyConnection

      public final Boolean getVerifyConnection()
      Description copied from interface: SplunkLogDriverProps
      Verify on start, that docker can connect to Splunk server.

      Default: - true

      Specified by:
      getVerifyConnection in interface SplunkLogDriverProps
    • 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