AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The FireLens configuration for the container. 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.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class FirelensConfiguration
The FirelensConfiguration type exposes the following members
Name | Description | |
---|---|---|
![]() |
FirelensConfiguration() |
Name | Type | Description | |
---|---|---|---|
![]() |
Options | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Options.
The options to use when configuring the log router. This field is optional and can
be used to specify a custom configuration file or to add additional metadata, such
as the task, task definition, cluster, and container instance details to the log event.
If specified, the syntax to use is
Tasks hosted on Fargate only support the |
![]() |
Type | Amazon.ECS.FirelensConfigurationType |
Gets and sets the property Type.
The log router to use. The valid values are |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5