Class JournaldLogDriver
A log driver that sends log information to journald Logs.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class JournaldLogDriver : LogDriver
Syntax (vb)
Public Class JournaldLogDriver
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 journaldLogDriver = new JournaldLogDriver(new JournaldLogDriverProps {
Env = new [] { "env" },
EnvRegex = "envRegex",
Labels = new [] { "labels" },
Tag = "tag"
});
Synopsis
Constructors
Journald |
Constructs a new instance of the JournaldLogDriver class. |
Journald |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Journald |
Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, Container |
Called when the log driver is configured on a container. |
Constructors
JournaldLogDriver(IJournaldLogDriverProps)
Constructs a new instance of the JournaldLogDriver class.
public JournaldLogDriver(IJournaldLogDriverProps props = null)
Parameters
- props IJournald
Log Driver Props the journald log driver configuration options.
JournaldLogDriver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected JournaldLogDriver(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
JournaldLogDriver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected JournaldLogDriver(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props 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 Constructs.
Construct - containerDefinition Container
Definition
Returns