interface FirelensConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.FirelensConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#FirelensConfig |
Java | software.amazon.awscdk.services.ecs.FirelensConfig |
Python | aws_cdk.aws_ecs.FirelensConfig |
TypeScript (source) | aws-cdk-lib » aws_ecs » FirelensConfig |
Firelens Configuration https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const firelensConfig: ecs.FirelensConfig = {
type: ecs.FirelensLogRouterType.FLUENTBIT,
// the properties below are optional
options: {
configFileType: ecs.FirelensConfigFileType.S3,
configFileValue: 'configFileValue',
enableECSLogMetadata: false,
},
};
Properties
Name | Type | Description |
---|---|---|
type | Firelens | The log router to use. |
options? | Firelens | Firelens options. |
type
Type:
Firelens
The log router to use.
options?
Type:
Firelens
(optional, default: no additional options)
Firelens options.