@Stability(value=Stable) @Internal public static final class AwsLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsLogDriverProps
AwsLogDriverPropssoftware.amazon.jsii.JsiiObject.InitializationModeAwsLogDriverProps.Builder, AwsLogDriverProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AwsLogDriverProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AwsLogDriverProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDatetimeFormat()
This option defines a multiline start pattern in Python strftime format.
|
ILogGroup |
getLogGroup()
The log group to log to.
|
RetentionDays |
getLogRetention()
The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.
|
AwsLogDriverMode |
getMode()
The delivery mode of log messages from the container to awslogs.
|
String |
getMultilinePattern()
This option defines a multiline start pattern using a regular expression.
|
String |
getStreamPrefix()
Prefix for the log streams.
|
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(AwsLogDriverProps.Builder builder)
AwsLogDriverProps.Builder.public final String getStreamPrefix()
AwsLogDriverPropsThe awslogs-stream-prefix option allows you to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task to which the container belongs. If you specify a prefix with this option, then the log stream takes the following format:
prefix-name/container-name/ecs-task-id
getStreamPrefix in interface AwsLogDriverPropspublic final String getDatetimeFormat()
AwsLogDriverPropsA log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.
Default: - No multiline matching.
getDatetimeFormat in interface AwsLogDriverPropspublic final ILogGroup getLogGroup()
AwsLogDriverPropsDefault: - A log group is automatically created.
getLogGroup in interface AwsLogDriverPropspublic final RetentionDays getLogRetention()
AwsLogDriverPropsDefault: - Logs never expire.
getLogRetention in interface AwsLogDriverPropspublic final AwsLogDriverMode getMode()
AwsLogDriverPropsDefault: - AwsLogDriverMode.BLOCKING
getMode in interface AwsLogDriverPropspublic final String getMultilinePattern()
AwsLogDriverPropsA log message consists of a line that matches the pattern and any following lines that don’t match the pattern. Thus the matched line is the delimiter between log messages.
This option is ignored if datetimeFormat is also configured.
Default: - No multiline matching.
getMultilinePattern in interface AwsLogDriverProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.