class Aws::ECS::Types::FirelensConfiguration
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*.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
@note When making an API call, you may pass FirelensConfiguration
data as a hash: { type: "fluentd", # required, accepts fluentd, fluentbit options: { "String" => "String", }, }
@!attribute [rw] type
The log router to use. The valid values are `fluentd` or `fluentbit`. @return [String]
@!attribute [rw] 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 `"options":\{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"\}`. For more information, see [Creating a Task Definition that Uses a FireLens Configuration][1] in the *Amazon Elastic Container Service Developer Guide*. <note markdown="1"> Tasks hosted on Fargate only support the `file` configuration file type. </note> [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/FirelensConfiguration AWS API Documentation
Constants
- SENSITIVE