Show / Hide Table of Contents

Interface IFirelensConfig

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

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFirelensConfig
Syntax (vb)
Public Interface 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

Properties

Options

Firelens options.

Type

The log router to use.

Properties

Options

Firelens options.

IFirelensOptions? Options { get; }
Property Value

IFirelensOptions

Remarks

Default: - no additional options

Type

The log router to use.

FirelensLogRouterType Type { get; }
Property Value

FirelensLogRouterType

Remarks

Default: - fluentbit

Back to top Generated by DocFX