Interface SyslogLogDriverProps
- All Superinterfaces:
BaseLogDriverProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SyslogLogDriverProps.Jsii$Proxy
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSyslogLogDriverProps
static final class
An implementation forSyslogLogDriverProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic SyslogLogDriverProps.Builder
builder()
default String
The address of an external syslog server.default String
The syslog facility to use.default String
The syslog message format to use.default String
The absolute path to the trust certificates signed by the CA.default String
The absolute path to the TLS certificate file.default String
The absolute path to the TLS key file.default Boolean
If set to true, TLS verification is skipped when connecting to the syslog daemon.Methods inherited from interface software.amazon.awscdk.services.ecs.BaseLogDriverProps
getEnv, getEnvRegex, getLabels, getTag
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddress
The address of an external syslog server.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.
-
getFacility
The syslog facility to use.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
-
getFormat
The syslog message format to use.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
-
getTlsCaCert
The absolute path to the trust certificates signed by the CA.Ignored if the address protocol is not tcp+tls.
Default: - tlsCaCert not set
-
getTlsCert
The absolute path to the TLS certificate file.Ignored if the address protocol is not tcp+tls.
Default: - tlsCert not set
-
getTlsKey
The absolute path to the TLS key file.Ignored if the address protocol is not tcp+tls.
Default: - tlsKey not set
-
getTlsSkipVerify
If set to true, TLS verification is skipped when connecting to the syslog daemon.Ignored if the address protocol is not tcp+tls.
Default: - false
-
builder
- Returns:
- a
SyslogLogDriverProps.Builder
ofSyslogLogDriverProps
-