Show / Hide Table of Contents

Class JournaldLogDriver

A log driver that sends log information to journald Logs.

Inheritance
object
LogDriver
JournaldLogDriver
Inherited Members
LogDriver.AwsLogs(IAwsLogDriverProps)
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

ILogDriverConfig

Overrides
LogDriver.Bind(Construct, ContainerDefinition)
Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX