Interface DatadogFargateFirelensLoggingProps

interface DatadogFargateFirelensLoggingProps {
    cpu?: number;
    enabled?: boolean;
    image?: ContainerImage;
    imageTag?: string;
    memoryLimitMiB?: number;
    service?: string;
    source?: string;
    tags?: Record<string, string>;
}

Properties

cpu?: number

The CPU units to reserve for the firelens logging container

Remarks

By default, this will be unset and the firelens logging container will be able to use all available CPU units.

enabled?: boolean

Whether the firelens logging configuration should be enabled

Remarks

If this is not enabled, the firelens logging configuration will not be deployed to the task. This is useful if you only want to use the Datadog agent.

Default

false
image?: ContainerImage

The image to use for the firelens logging container

Default

ecs.ContainerImage.fromRegistry('public.ecr.aws/aws-observability/aws-for-fluent-bit:latest')
imageTag?: string

The tag to use for the firelens logging container image

Remarks

This is ignored if setting image.

Default

latest
memoryLimitMiB?: number

The memory limit for the firelens logging container

Default

256
service?: string

The service name to include in the logs sent to Datadog

Remarks

By default, this will be unset and the logs will be sent without a service tag.

source?: string

The source name to include in the logs sent to Datadog

Remarks

By default, this will be unset and the logs will be sent without a source tag.

tags?: Record<string, string>

Any additional tags to include in the logs sent to Datadog

Remarks

By default, this will be unset and the logs will be sent without any additional tags.

Generated using TypeDoc