Interface DatadogEcsDaemonServiceProps

interface DatadogEcsDaemonServiceProps {
    cpu?: number;
    datadogApiKeySecret: Secret;
    datadogSite?: string;
    disableHealthcheck?: boolean;
    ecsCluster: Cluster;
    image?: ContainerImage;
    imageTag?: string;
    logToCloudWatch?: boolean;
    logs?: DatadogEcsLogsProps;
    memoryLimitMiB?: number;
}

Properties

cpu?: number

The number of CPU units to reserve for the container

Default

100
datadogApiKeySecret: Secret

The secret containing the Datadog API key

datadogSite?: string

The Datadog site to send data to

Remarks

Defaults to datadoghq.com See information about other datadog site parameters at https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site

disableHealthcheck?: boolean

Whether to disable the agent's healthcheck

Default

false
ecsCluster: Cluster

The ECS cluster to deploy the Datadog agent to

image?: ContainerImage

The image to use for the container

Default

ecs.ContainerImage.fromRegistry('public.ecr.aws/datadog/agent:latest')
imageTag?: string

The image tag to use for the container

Remarks

This is ignored if image is specified

Default

'latest'
logToCloudWatch?: boolean

Whether the agent's logs should be sent to CloudWatch

Default

false
memoryLimitMiB?: number

The amount (in MiB) of memory to present to the container

Default

512

Generated using TypeDoc