@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.724Z") @Stability(value=Stable) public class GelfLogDriver 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.*;
import software.amazon.awscdk.services.ecs.*;
GelfLogDriver gelfLogDriver = GelfLogDriver.Builder.create()
.address("address")
// the properties below are optional
.compressionLevel(123)
.compressionType(GelfCompressionType.GZIP)
.env(List.of("env"))
.envRegex("envRegex")
.labels(List.of("labels"))
.tag("tag")
.tcpMaxReconnect(123)
.tcpReconnectDelay(Duration.minutes(30))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
GelfLogDriver.Builder
A fluent builder for
GelfLogDriver. |
| Modifier | Constructor and Description |
|---|---|
|
GelfLogDriver(GelfLogDriverProps props)
Constructs a new instance of the GelfLogDriver class.
|
protected |
GelfLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GelfLogDriver(software.amazon.jsii.JsiiObjectRef objRef) |
| 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 GelfLogDriver(software.amazon.jsii.JsiiObjectRef objRef)
protected GelfLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GelfLogDriver(@NotNull
GelfLogDriverProps props)
props - the gelf log driver configuration options. This parameter is required.@Stability(value=Stable) @NotNull public LogDriverConfig bind(@NotNull software.constructs.Construct _scope, @NotNull ContainerDefinition _containerDefinition)
Copyright © 2022. All rights reserved.