@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:37:00.468Z") public class SplunkLogDriver 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.*; import software.amazon.awscdk.core.*; Secret secret; SecretValue secretValue; SplunkLogDriver splunkLogDriver = SplunkLogDriver.Builder.create() .url("url") // the properties below are optional .caName("caName") .caPath("caPath") .env(List.of("env")) .envRegex("envRegex") .format(SplunkLogFormat.INLINE) .gzip(false) .gzipLevel(123) .index("index") .insecureSkipVerify("insecureSkipVerify") .labels(List.of("labels")) .secretToken(secret) .source("source") .sourceType("sourceType") .tag("tag") .token(secretValue) .verifyConnection(false) .build();
Modifier and Type | Class and Description |
---|---|
static class |
SplunkLogDriver.Builder
A fluent builder for
SplunkLogDriver . |
Modifier | Constructor and Description |
---|---|
protected |
SplunkLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SplunkLogDriver(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 SplunkLogDriver(software.amazon.jsii.JsiiObjectRef objRef)
protected SplunkLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public LogDriverConfig bind(Construct _scope, ContainerDefinition _containerDefinition)