Show / Hide Table of Contents

Class FluentdLogDriver

A log driver that sends log information to journald Logs.

Inheritance
object
LogDriver
FluentdLogDriver
Inherited Members
LogDriver.AwsLogs(IAwsLogDriverProps)
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FluentdLogDriver : LogDriver
Syntax (vb)
Public Class FluentdLogDriver 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;
            using Amazon.CDK.AWS.ECS;

            var fluentdLogDriver = new FluentdLogDriver(new FluentdLogDriverProps {
                Address = "address",
                Async = false,
                AsyncConnect = false,
                BufferLimit = 123,
                Env = new [] { "env" },
                EnvRegex = "envRegex",
                Labels = new [] { "labels" },
                MaxRetries = 123,
                RetryWait = Duration.Minutes(30),
                SubSecondPrecision = false,
                Tag = "tag"
            });

Synopsis

Constructors

FluentdLogDriver(IFluentdLogDriverProps?)

Constructs a new instance of the FluentdLogDriver class.

Methods

Bind(Construct, ContainerDefinition)

Called when the log driver is configured on a container.

Constructors

FluentdLogDriver(IFluentdLogDriverProps?)

Constructs a new instance of the FluentdLogDriver class.

public FluentdLogDriver(IFluentdLogDriverProps? props = null)
Parameters
props IFluentdLogDriverProps

the fluentd 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