libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.FirelensConfiguration

Description

 
Synopsis

Documentation

data FirelensConfiguration Source #

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.

See: newFirelensConfiguration smart constructor.

Constructors

FirelensConfiguration' 

Fields

  • options :: Maybe (HashMap Text Text)

    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 in the Amazon Elastic Container Service Developer Guide.

    Tasks hosted on Fargate only support the file configuration file type.

  • type' :: FirelensConfigurationType

    The log router to use. The valid values are fluentd or fluentbit.

Instances

Instances details
Eq FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

Read FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

Show FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

Generic FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

Associated Types

type Rep FirelensConfiguration :: Type -> Type #

NFData FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

Methods

rnf :: FirelensConfiguration -> () #

Hashable FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

ToJSON FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

FromJSON FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

type Rep FirelensConfiguration Source # 
Instance details

Defined in Amazonka.ECS.Types.FirelensConfiguration

type Rep FirelensConfiguration = D1 ('MetaData "FirelensConfiguration" "Amazonka.ECS.Types.FirelensConfiguration" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "FirelensConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FirelensConfigurationType)))

newFirelensConfiguration Source #

Create a value of FirelensConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:options:FirelensConfiguration', firelensConfiguration_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 in the Amazon Elastic Container Service Developer Guide.

Tasks hosted on Fargate only support the file configuration file type.

$sel:type':FirelensConfiguration', firelensConfiguration_type - The log router to use. The valid values are fluentd or fluentbit.

firelensConfiguration_options :: Lens' FirelensConfiguration (Maybe (HashMap Text Text)) Source #

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 in the Amazon Elastic Container Service Developer Guide.

Tasks hosted on Fargate only support the file configuration file type.

firelensConfiguration_type :: Lens' FirelensConfiguration FirelensConfigurationType Source #

The log router to use. The valid values are fluentd or fluentbit.