Interface ISyslogLogDriverProps
Specifies the syslog log driver configuration options.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface ISyslogLogDriverProps : IBaseLogDriverProps
Syntax (vb)
Public Interface ISyslogLogDriverProps
Inherits IBaseLogDriverProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var syslogLogDriverProps = new SyslogLogDriverProps {
Address = "address",
Env = new [] { "env" },
EnvRegex = "envRegex",
Facility = "facility",
Format = "format",
Labels = new [] { "labels" },
Tag = "tag",
TlsCaCert = "tlsCaCert",
TlsCert = "tlsCert",
TlsKey = "tlsKey",
TlsSkipVerify = false
};
Synopsis
Properties
Address | The address of an external syslog server. |
Facility | The syslog facility to use. |
Format | The syslog message format to use. |
TlsCaCert | The absolute path to the trust certificates signed by the CA. |
TlsCert | The absolute path to the TLS certificate file. |
TlsKey | The absolute path to the TLS key file. |
TlsSkipVerify | If set to true, TLS verification is skipped when connecting to the syslog daemon. |
Properties
Address
The address of an external syslog server.
virtual string Address { get; }
Property Value
System.String
Remarks
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.
Facility
The syslog facility to use.
virtual string Facility { get; }
Property Value
System.String
Remarks
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
Format
The syslog message format to use.
virtual string Format { get; }
Property Value
System.String
Remarks
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
TlsCaCert
The absolute path to the trust certificates signed by the CA.
virtual string TlsCaCert { get; }
Property Value
System.String
Remarks
Ignored if the address protocol is not tcp+tls.
Default: - tlsCaCert not set
TlsCert
The absolute path to the TLS certificate file.
virtual string TlsCert { get; }
Property Value
System.String
Remarks
Ignored if the address protocol is not tcp+tls.
Default: - tlsCert not set
TlsKey
The absolute path to the TLS key file.
virtual string TlsKey { get; }
Property Value
System.String
Remarks
Ignored if the address protocol is not tcp+tls.
Default: - tlsKey not set
TlsSkipVerify
If set to true, TLS verification is skipped when connecting to the syslog daemon.
virtual Nullable<bool> TlsSkipVerify { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Ignored if the address protocol is not tcp+tls.
Default: - false