@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.733Z") @Stability(value=Stable) 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) |
|
JsonFileLogDriver(JsonFileLogDriverProps props)
Constructs a new instance of the JsonFileLogDriver class.
|
| Modifier and Type | Method and Description |
|---|---|
LogDriverConfig |
bind(software.constructs.Construct _scope,
ContainerDefinition _containerDefinition)
Called when the log driver is configured on a container.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected JsonFileLogDriver(software.amazon.jsii.JsiiObjectRef objRef)
protected JsonFileLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public JsonFileLogDriver(@Nullable
JsonFileLogDriverProps props)
props - the json-file log driver configuration options.@Stability(value=Stable) public JsonFileLogDriver()
@Stability(value=Stable) @NotNull public LogDriverConfig bind(@NotNull software.constructs.Construct _scope, @NotNull ContainerDefinition _containerDefinition)
Copyright © 2022. All rights reserved.