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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSyslogLogDriverPropsstatic final classAn implementation forSyslogLogDriverProps -
Method Summary
Modifier and TypeMethodDescriptionstatic SyslogLogDriverProps.Builderbuilder()default StringThe address of an external syslog server.default StringThe syslog facility to use.default StringThe syslog message format to use.default StringThe absolute path to the trust certificates signed by the CA.default StringThe absolute path to the TLS certificate file.default StringThe absolute path to the TLS key file.default BooleanIf 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, getTagMethods 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.BuilderofSyslogLogDriverProps
-