Show / Hide Table of Contents

Interface CfnTaskDefinition.IFirelensConfigurationProperty

The FireLens configuration for the container.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTaskDefinition.IFirelensConfigurationProperty
Syntax (vb)
Public Interface CfnTaskDefinition.IFirelensConfigurationProperty
Remarks

This is used to specify and configure a log router for container logs. For more information, see Custom log routing in the Amazon Elastic Container Service Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html

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 firelensConfigurationProperty = new FirelensConfigurationProperty {
                 Options = new Dictionary<string, string> {
                     { "optionsKey", "options" }
                 },
                 Type = "type"
             };

Synopsis

Properties

Options

The options to use when configuring the log router.

Type

The log router to use.

Properties

Options

The options to use when configuring the log router.

object? Options { get; }
Property Value

object

Remarks

This field is optional and can be used to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event.

If specified, valid option keys are:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-options

    Type

    The log router to use.

    string? Type { get; }
    Property Value

    string

    Remarks

    The valid values are fluentd or fluentbit .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-type

    Back to top Generated by DocFX