@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:10.350Z")
public interface BaseLogDriverProps
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; BaseLogDriverProps baseLogDriverProps = BaseLogDriverProps.builder() .env(List.of("env")) .envRegex("envRegex") .labels(List.of("labels")) .tag("tag") .build();
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 java.util.List<java.lang.String> |
getEnv()
The env option takes an array of keys.
|
default java.lang.String |
getEnvRegex()
The env-regex option is similar to and compatible with env.
|
default java.util.List<java.lang.String> |
getLabels()
The labels option takes an array of keys.
|
default java.lang.String |
getTag()
By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
default java.util.List<java.lang.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
default java.lang.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
default java.util.List<java.lang.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
default java.lang.String getTag()
Refer to the log tag option documentation for customizing the log tag format.
Default: - The first 12 characters of the container ID
static BaseLogDriverProps.Builder builder()
BaseLogDriverProps.Builder
of BaseLogDriverProps