FirelensConfig
- class aws_cdk.aws_ecs.FirelensConfig(*, type, options=None)
Bases:
object
Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.
- Parameters:
type (
FirelensLogRouterType
) – The log router to use. Default: - fluentbitoptions (
Union
[FirelensOptions
,Dict
[str
,Any
],None
]) – Firelens options. Default: - no additional options
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ecs as ecs firelens_config = ecs.FirelensConfig( type=ecs.FirelensLogRouterType.FLUENTBIT, # the properties below are optional options=ecs.FirelensOptions( config_file_type=ecs.FirelensConfigFileType.S3, config_file_value="configFileValue", enable_eCSLog_metadata=False ) )
Attributes
- options
Firelens options.
- Default:
no additional options
- type
The log router to use.
- Default:
fluentbit