Class JsonFileLogDriverProps.Jsii$Proxy
- All Implemented Interfaces:
BaseLogDriverProps
,JsonFileLogDriverProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
JsonFileLogDriverProps
JsonFileLogDriverProps
-
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.JsonFileLogDriverProps
JsonFileLogDriverProps.Builder, JsonFileLogDriverProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(JsonFileLogDriverProps.Builder builder) Constructor that initializes the object based on literal property values passed by theJsonFileLogDriverProps.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 TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Toggles compression for rotated logs.getEnv()
The env option takes an array of keys.final String
The env-regex option is similar to and compatible with env.The labels option takes an array of keys.final Number
The maximum number of log files that can be present.final String
The maximum size of the log before it is rolled.final String
getTag()
By default, Docker uses the first 12 characters of the container ID to tag log messages.final int
hashCode()
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 theJsonFileLogDriverProps.Builder
.
-
-
Method Details
-
getCompress
Description copied from interface:JsonFileLogDriverProps
Toggles compression for rotated logs.Default: - false
- Specified by:
getCompress
in interfaceJsonFileLogDriverProps
-
getMaxFile
Description copied from interface:JsonFileLogDriverProps
The maximum number of log files that can be present.If rolling the logs creates excess files, the oldest file is removed. Only effective when max-size is also set. A positive integer.
Default: - 1
- Specified by:
getMaxFile
in interfaceJsonFileLogDriverProps
-
getMaxSize
Description copied from interface:JsonFileLogDriverProps
The maximum size of the log before it is rolled.A positive integer plus a modifier representing the unit of measure (k, m, or g).
Default: - -1 (unlimited)
- Specified by:
getMaxSize
in interfaceJsonFileLogDriverProps
-
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 interfaceBaseLogDriverProps
-
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 interfaceBaseLogDriverProps
-
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 interfaceBaseLogDriverProps
-
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 interfaceBaseLogDriverProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-