@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:37.029Z") public interface SyslogLogDriverProps extends 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 java.lang.String |
getAddress()
The address of an external syslog server.
|
default java.lang.String |
getFacility()
The syslog facility to use.
|
default java.lang.String |
getFormat()
The syslog message format to use.
|
default java.lang.String |
getTlsCaCert()
The absolute path to the trust certificates signed by the CA.
|
default java.lang.String |
getTlsCert()
The absolute path to the TLS certificate file.
|
default java.lang.String |
getTlsKey()
The absolute path to the TLS key file.
|
default java.lang.Boolean |
getTlsSkipVerify()
If set to true, TLS verification is skipped when connecting to the syslog daemon.
|
getEnv, getEnvRegex, getLabels, getTag
default java.lang.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.
default java.lang.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
default java.lang.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
default java.lang.String getTlsCaCert()
Ignored if the address protocol is not tcp+tls.
Default: - tlsCaCert not set
default java.lang.String getTlsCert()
Ignored if the address protocol is not tcp+tls.
Default: - tlsCert not set
default java.lang.String getTlsKey()
Ignored if the address protocol is not tcp+tls.
Default: - tlsKey not set
default java.lang.Boolean getTlsSkipVerify()
Ignored if the address protocol is not tcp+tls.
Default: - false
static SyslogLogDriverProps.Builder builder()
builder
in interface BaseLogDriverProps
SyslogLogDriverProps.Builder
of SyslogLogDriverProps