@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.732Z") @Stability(value=Experimental) public interface BaseLogDriverProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BaseLogDriverProps.Builder
A builder for
BaseLogDriverProps |
static class |
BaseLogDriverProps.Jsii$Proxy
An implementation for
BaseLogDriverProps |
| Modifier and Type | Method and Description |
|---|---|
static BaseLogDriverProps.Builder |
builder() |
default List<String> |
getEnv()
(experimental) The env option takes an array of keys.
|
default String |
getEnvRegex()
(experimental) The env-regex option is similar to and compatible with env.
|
default List<String> |
getLabels()
(experimental) The labels option takes an array of keys.
|
default String |
getTag()
(experimental) By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
@Stability(value=Experimental) @Nullable default List<String> getEnv()
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
@Stability(value=Experimental) @Nullable default String getEnvRegex()
Its value is a regular expression to match logging-related environment variables. It is used for advanced log tag options.
Default: - No envRegex
@Stability(value=Experimental) @Nullable default List<String> getLabels()
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
@Stability(value=Experimental) @Nullable default String getTag()
Refer to the log tag option documentation for customizing the log tag format.
Default: - The first 12 characters of the container ID
@Stability(value=Experimental) static BaseLogDriverProps.Builder builder()
BaseLogDriverProps.Builder of BaseLogDriverPropsCopyright © 2021. All rights reserved.