public static final class AwsLogDriverProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsLogDriverProps
AwsLogDriverProps
AwsLogDriverProps.Builder, AwsLogDriverProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.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.
|
java.lang.String |
getMultilinePattern()
This option defines a multiline start pattern using a regular expression.
|
java.lang.String |
getStreamPrefix()
Prefix for the log streams.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getStreamPrefix()
AwsLogDriverProps
The 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 AwsLogDriverProps
public final java.lang.String getDatetimeFormat()
AwsLogDriverProps
A 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 AwsLogDriverProps
public final ILogGroup getLogGroup()
AwsLogDriverProps
Default: - A log group is automatically created.
getLogGroup
in interface AwsLogDriverProps
public final RetentionDays getLogRetention()
AwsLogDriverProps
Default: - Logs never expire.
getLogRetention
in interface AwsLogDriverProps
public final AwsLogDriverMode getMode()
AwsLogDriverProps
Default: - AwsLogDriverMode.BLOCKING
getMode
in interface AwsLogDriverProps
public final java.lang.String getMultilinePattern()
AwsLogDriverProps
A 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()