Interface CfnTaskDefinition.IFirelensConfigurationProperty
The FireLens configuration for the container.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFirelensConfigurationProperty
Syntax (vb)
Public Interface 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 .
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.
virtual object Options { get; }
Property Value
System.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:
Type
The log router to use.
virtual string Type { get; }
Property Value
System.String
Remarks
The valid values are fluentd
or fluentbit
.