@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.746Z") @Stability(value=Stable) public interface SyslogLogDriverProps extends software.amazon.jsii.JsiiSerializable, BaseLogDriverProps
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.*;
SyslogLogDriverProps syslogLogDriverProps = SyslogLogDriverProps.builder()
.address("address")
.env(List.of("env"))
.envRegex("envRegex")
.facility("facility")
.format("format")
.labels(List.of("labels"))
.tag("tag")
.tlsCaCert("tlsCaCert")
.tlsCert("tlsCert")
.tlsKey("tlsKey")
.tlsSkipVerify(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SyslogLogDriverProps.Builder
A builder for
SyslogLogDriverProps |
static class |
SyslogLogDriverProps.Jsii$Proxy
An implementation for
SyslogLogDriverProps |
| Modifier and Type | Method and Description |
|---|---|
static SyslogLogDriverProps.Builder |
builder() |
default String |
getAddress()
The address of an external syslog server.
|
default String |
getFacility()
The syslog facility to use.
|
default String |
getFormat()
The syslog message format to use.
|
default String |
getTlsCaCert()
The absolute path to the trust certificates signed by the CA.
|
default String |
getTlsCert()
The absolute path to the TLS certificate file.
|
default String |
getTlsKey()
The absolute path to the TLS key file.
|
default Boolean |
getTlsSkipVerify()
If set to true, TLS verification is skipped when connecting to the syslog daemon.
|
getEnv, getEnvRegex, getLabels, getTag@Stability(value=Stable) @Nullable default String getAddress()
The URI specifier may be [tcp|udp|tcp+tls]://host:port, unix://path, or unixgram://path.
Default: - If the transport is tcp, udp, or tcp+tls, the default port is 514.
@Stability(value=Stable) @Nullable default String getFacility()
Can be the number or name for any valid syslog facility. See the syslog documentation: https://tools.ietf.org/html/rfc5424#section-6.2.1.
Default: - facility not set
@Stability(value=Stable) @Nullable default String getFormat()
If not specified the local UNIX syslog format is used, without a specified hostname. Specify rfc3164 for the RFC-3164 compatible format, rfc5424 for RFC-5424 compatible format, or rfc5424micro for RFC-5424 compatible format with microsecond timestamp resolution.
Default: - format not set
@Stability(value=Stable) @Nullable default String getTlsCaCert()
Ignored if the address protocol is not tcp+tls.
Default: - tlsCaCert not set
@Stability(value=Stable) @Nullable default String getTlsCert()
Ignored if the address protocol is not tcp+tls.
Default: - tlsCert not set
@Stability(value=Stable) @Nullable default String getTlsKey()
Ignored if the address protocol is not tcp+tls.
Default: - tlsKey not set
@Stability(value=Stable) @Nullable default Boolean getTlsSkipVerify()
Ignored if the address protocol is not tcp+tls.
Default: - false
@Stability(value=Stable) static SyslogLogDriverProps.Builder builder()
builder in interface BaseLogDriverPropsSyslogLogDriverProps.Builder of SyslogLogDriverPropsCopyright © 2022. All rights reserved.