Class SyslogLogDriver
A log driver that sends log information to syslog Logs.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class SyslogLogDriver : LogDriver
Syntax (vb)
Public Class SyslogLogDriver
Inherits LogDriver
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 syslogLogDriver = new SyslogLogDriver(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
Constructors
SyslogLogDriver(ISyslogLogDriverProps) | Constructs a new instance of the SyslogLogDriver class. |
SyslogLogDriver(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SyslogLogDriver(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, ContainerDefinition) | Called when the log driver is configured on a container. |
Constructors
SyslogLogDriver(ISyslogLogDriverProps)
Constructs a new instance of the SyslogLogDriver class.
public SyslogLogDriver(ISyslogLogDriverProps props = null)
Parameters
- props ISyslogLogDriverProps
the syslog log driver configuration options.
SyslogLogDriver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SyslogLogDriver(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SyslogLogDriver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SyslogLogDriver(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct, ContainerDefinition)
Called when the log driver is configured on a container.
public override ILogDriverConfig Bind(Construct scope, ContainerDefinition containerDefinition)
Parameters
- scope Construct
- containerDefinition ContainerDefinition
Returns