Class FluentdLogDriver
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 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",
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. |
FluentdLogDriver(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FluentdLogDriver(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
FluentdLogDriver(IFluentdLogDriverProps)
Constructs a new instance of the FluentdLogDriver class.
public FluentdLogDriver(IFluentdLogDriverProps props = null)
Parameters
- props IFluentdLogDriverProps
the fluentd log driver configuration options.
FluentdLogDriver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FluentdLogDriver(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FluentdLogDriver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FluentdLogDriver(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 Constructs.Construct
- containerDefinition ContainerDefinition
Returns