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
JournaldLogDriver(IJournaldLogDriverProps?) | Constructs a new instance of the JournaldLogDriver class. |
Methods
Bind(Construct, ContainerDefinition) | 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 IJournaldLogDriverProps
the journald log driver configuration options.
Remarks
ExampleMetadata: fixture=_generated
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
Overrides
Remarks
ExampleMetadata: fixture=_generated