@Stability(value=Experimental) @Internal public static final class SplunkLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SplunkLogDriverProps
SplunkLogDriverPropssoftware.amazon.jsii.JsiiObject.InitializationModeSplunkLogDriverProps.Builder, SplunkLogDriverProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(SecretValue token,
String url,
String caName,
String caPath,
SplunkLogFormat format,
Boolean gzip,
Number gzipLevel,
String index,
String insecureSkipVerify,
String source,
String sourceType,
Boolean verifyConnection,
List<String> env,
String envRegex,
List<String> labels,
String tag)
Constructor that initializes the object based on literal property values passed by the
SplunkLogDriverProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCaName()
(experimental) Name to use for validating server certificate.
|
String |
getCaPath()
(experimental) Path to root certificate.
|
List<String> |
getEnv()
(experimental) The env option takes an array of keys.
|
String |
getEnvRegex()
(experimental) The env-regex option is similar to and compatible with env.
|
SplunkLogFormat |
getFormat()
(experimental) Message format.
|
Boolean |
getGzip()
(experimental) Enable/disable gzip compression to send events to Splunk Enterprise or Splunk Cloud instance.
|
Number |
getGzipLevel()
(experimental) Set compression level for gzip.
|
String |
getIndex()
(experimental) Event index.
|
String |
getInsecureSkipVerify()
(experimental) Ignore server certificate validation.
|
List<String> |
getLabels()
(experimental) The labels option takes an array of keys.
|
String |
getSource()
(experimental) Event source.
|
String |
getSourceType()
(experimental) Event source type.
|
String |
getTag()
(experimental) By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
SecretValue |
getToken()
(experimental) Splunk HTTP Event Collector token.
|
String |
getUrl()
(experimental) 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.
|
Boolean |
getVerifyConnection()
(experimental) Verify on start, that docker can connect to Splunk server.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(SecretValue token, String url, String caName, String caPath, SplunkLogFormat format, Boolean gzip, Number gzipLevel, String index, String insecureSkipVerify, String source, String sourceType, Boolean verifyConnection, List<String> env, String envRegex, List<String> labels, String tag)
SplunkLogDriverProps.Builder.public final SecretValue getToken()
SplunkLogDriverPropsgetToken in interface SplunkLogDriverPropspublic final String getUrl()
SplunkLogDriverPropsgetUrl in interface SplunkLogDriverPropspublic final String getCaName()
SplunkLogDriverPropsDefault: - The hostname of the splunk-url
getCaName in interface SplunkLogDriverPropspublic final String getCaPath()
SplunkLogDriverPropsDefault: - caPath not set.
getCaPath in interface SplunkLogDriverPropspublic final SplunkLogFormat getFormat()
SplunkLogDriverPropsCan be inline, json or raw.
Default: - inline
getFormat in interface SplunkLogDriverPropspublic final Boolean getGzip()
SplunkLogDriverPropsDefault: - false
getGzip in interface SplunkLogDriverPropspublic final Number getGzipLevel()
SplunkLogDriverPropsValid values are -1 (default), 0 (no compression), 1 (best speed) ... 9 (best compression).
Default: - -1 (Default Compression)
getGzipLevel in interface SplunkLogDriverPropspublic final String getIndex()
SplunkLogDriverPropsDefault: - index not set.
getIndex in interface SplunkLogDriverPropspublic final String getInsecureSkipVerify()
SplunkLogDriverPropsDefault: - insecureSkipVerify not set.
getInsecureSkipVerify in interface SplunkLogDriverPropspublic final String getSource()
SplunkLogDriverPropsDefault: - source not set.
getSource in interface SplunkLogDriverPropspublic final String getSourceType()
SplunkLogDriverPropsDefault: - sourceType not set.
getSourceType in interface SplunkLogDriverPropspublic final Boolean getVerifyConnection()
SplunkLogDriverPropsDefault: - true
getVerifyConnection in interface SplunkLogDriverPropspublic final List<String> getEnv()
BaseLogDriverPropsIf 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
getEnv in interface BaseLogDriverPropspublic final String getEnvRegex()
BaseLogDriverPropsIts value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.
Default: - No envRegex
getEnvRegex in interface BaseLogDriverPropspublic final List<String> getLabels()
BaseLogDriverPropsIf 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
getLabels in interface BaseLogDriverPropspublic final String getTag()
BaseLogDriverPropsRefer to the log tag option documentation for customizing the log tag format.
Default: - The first 12 characters of the container ID
getTag in interface BaseLogDriverProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.