Show / Hide Table of Contents

Class FirelensConfig

Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.

Inheritance
System.Object
FirelensConfig
Implements
IFirelensConfig
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class FirelensConfig : Object, IFirelensConfig
Syntax (vb)
Public Class FirelensConfig
    Inherits Object
    Implements IFirelensConfig
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 firelensConfig = new FirelensConfig {
    Type = FirelensLogRouterType.FLUENTBIT,

    // the properties below are optional
    Options = new FirelensOptions {
        ConfigFileType = FirelensConfigFileType.S3,
        ConfigFileValue = "configFileValue",
        EnableECSLogMetadata = false
    }
};

Synopsis

Constructors

FirelensConfig()

Properties

Options

Firelens options.

Type

The log router to use.

Constructors

FirelensConfig()

public FirelensConfig()

Properties

Options

Firelens options.

public IFirelensOptions Options { get; set; }
Property Value

IFirelensOptions

Remarks

Default: - no additional options

Type

The log router to use.

public FirelensLogRouterType Type { get; set; }
Property Value

FirelensLogRouterType

Remarks

Default: - fluentbit

Implements

IFirelensConfig
Back to top Generated by DocFX