Class GelfLogDriverProps.Jsii$Proxy
- All Implemented Interfaces:
BaseLogDriverProps,GelfLogDriverProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GelfLogDriverProps
GelfLogDriverProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.GelfLogDriverProps
GelfLogDriverProps.Builder, GelfLogDriverProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(GelfLogDriverProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGelfLogDriverProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe address of the GELF server.final NumberUDP Only The level of compression when gzip or zlib is the gelf-compression-type.final GelfCompressionTypeUDP Only The type of compression the GELF driver uses to compress each log message.getEnv()The env option takes an array of keys.final StringThe env-regex option is similar to and compatible with env.The labels option takes an array of keys.final StringgetTag()By default, Docker uses the first 12 characters of the container ID to tag log messages.final NumberTCP Only The maximum number of reconnection attempts when the connection drop.final DurationTCP Only The number of seconds to wait between reconnection attempts.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theGelfLogDriverProps.Builder.
-
-
Method Details
-
getAddress
Description copied from interface:GelfLogDriverPropsThe address of the GELF server.tcp and udp are the only supported URI specifier and you must specify the port.
- Specified by:
getAddressin interfaceGelfLogDriverProps
-
getCompressionLevel
Description copied from interface:GelfLogDriverPropsUDP Only The level of compression when gzip or zlib is the gelf-compression-type.An integer in the range of -1 to 9 (BestCompression). Higher levels provide more compression at lower speed. Either -1 or 0 disables compression.
Default: - 1
- Specified by:
getCompressionLevelin interfaceGelfLogDriverProps
-
getCompressionType
Description copied from interface:GelfLogDriverPropsUDP Only The type of compression the GELF driver uses to compress each log message.Allowed values are gzip, zlib and none.
Default: - gzip
- Specified by:
getCompressionTypein interfaceGelfLogDriverProps
-
getTcpMaxReconnect
Description copied from interface:GelfLogDriverPropsTCP Only The maximum number of reconnection attempts when the connection drop.A positive integer.
Default: - 3
- Specified by:
getTcpMaxReconnectin interfaceGelfLogDriverProps
-
getTcpReconnectDelay
Description copied from interface:GelfLogDriverPropsTCP Only The number of seconds to wait between reconnection attempts.A positive integer.
Default: - 1
- Specified by:
getTcpReconnectDelayin interfaceGelfLogDriverProps
-
getEnv
Description copied from interface:BaseLogDriverPropsThe 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:
getEnvin interfaceBaseLogDriverProps
-
getEnvRegex
Description copied from interface:BaseLogDriverPropsThe 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:
getEnvRegexin interfaceBaseLogDriverProps
-
getLabels
Description copied from interface:BaseLogDriverPropsThe 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:
getLabelsin interfaceBaseLogDriverProps
-
getTag
Description copied from interface:BaseLogDriverPropsBy 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:
getTagin interfaceBaseLogDriverProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-