@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:10.709Z") public class JsonFileLogDriver extends LogDriver
Example:
// 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.*; JsonFileLogDriver jsonFileLogDriver = JsonFileLogDriver.Builder.create() .compress(false) .env(List.of("env")) .envRegex("envRegex") .labels(List.of("labels")) .maxFile(123) .maxSize("maxSize") .tag("tag") .build();
Modifier and Type | Class and Description |
---|---|
static class |
JsonFileLogDriver.Builder
A fluent builder for
JsonFileLogDriver . |
Modifier | Constructor and Description |
---|---|
|
JsonFileLogDriver()
Constructs a new instance of the JsonFileLogDriver class.
|
protected |
JsonFileLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
JsonFileLogDriver(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
LogDriverConfig |
bind(Construct _scope,
ContainerDefinition _containerDefinition)
Called when the log driver is configured on a container.
|
protected JsonFileLogDriver(software.amazon.jsii.JsiiObjectRef objRef)
protected JsonFileLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public JsonFileLogDriver()
public LogDriverConfig bind(Construct _scope, ContainerDefinition _containerDefinition)