Show / Hide Table of Contents

Class JsonFileLogDriver

A log driver that sends log information to json-file Logs.

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

JsonFileLogDriver jsonFileLogDriver = new JsonFileLogDriver(new JsonFileLogDriverProps {
    Compress = false,
    Env = new [] { "env" },
    EnvRegex = "envRegex",
    Labels = new [] { "labels" },
    MaxFile = 123,
    MaxSize = "maxSize",
    Tag = "tag"
});

Synopsis

Constructors

JsonFileLogDriver(IJsonFileLogDriverProps)

Constructs a new instance of the JsonFileLogDriver class.

JsonFileLogDriver(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

JsonFileLogDriver(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

JsonFileLogDriver(IJsonFileLogDriverProps)

Constructs a new instance of the JsonFileLogDriver class.

public JsonFileLogDriver(IJsonFileLogDriverProps props = null)
Parameters
props IJsonFileLogDriverProps

the json-file log driver configuration options.

JsonFileLogDriver(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected JsonFileLogDriver(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

JsonFileLogDriver(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected JsonFileLogDriver(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 Construct
containerDefinition ContainerDefinition
Returns

ILogDriverConfig

Overrides
LogDriver.Bind(Construct, ContainerDefinition)
Back to top Generated by DocFX