@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-19T10:09:24.113Z") @Stability(value=Stable) public interface AwsLogDriverProps extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
AwsLogDriverProps.Builder
A builder for
AwsLogDriverProps |
static class |
AwsLogDriverProps.Jsii$Proxy
An implementation for
AwsLogDriverProps |
Modifier and Type | Method and Description |
---|---|
static AwsLogDriverProps.Builder |
builder() |
default String |
getDatetimeFormat()
This option defines a multiline start pattern in Python strftime format.
|
default ILogGroup |
getLogGroup()
The log group to log to.
|
default RetentionDays |
getLogRetention()
The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.
|
default String |
getMultilinePattern()
This option defines a multiline start pattern using a regular expression.
|
String |
getStreamPrefix()
Prefix for the log streams.
|
@Stability(value=Stable) @NotNull String getStreamPrefix()
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
@Stability(value=Stable) @Nullable default String getDatetimeFormat()
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.
@Stability(value=Stable) @Nullable default ILogGroup getLogGroup()
Default: - A log group is automatically created.
@Stability(value=Stable) @Nullable default RetentionDays getLogRetention()
Default: - Logs never expire.
@Stability(value=Stable) @Nullable default String getMultilinePattern()
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.
@Stability(value=Stable) static AwsLogDriverProps.Builder builder()
AwsLogDriverProps.Builder
of AwsLogDriverProps
Copyright © 2021. All rights reserved.