# CfnDaemonProps

Properties for defining a `CfnDaemon`.

Extends: CfnDaemonProps
Used as props by: CfnDaemon

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// 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 cfnDaemonProps: ecs.CfnDaemonProps = {
  capacityProviderArns: ['capacityProviderArns'],
  clusterArn: 'clusterArn',
  critical: false,
  daemonName: 'daemonName',
  daemonTaskDefinitionArn: 'daemonTaskDefinitionArn',
  deploymentConfiguration: {
    alarms: {
      alarmNames: ['alarmNames'],
      enable: false,
    },
    bakeTimeInMinutes: 123,
    drainPercent: 123,
  },
  enableEcsManagedTags: false,
  enableExecuteCommand: false,
  propagateTags: 'propagateTags',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `capacityProviderArns`: string[] — The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.

- `clusterArn`: string — The Amazon Resource Name (ARN) of the cluster that the daemon is running in.

- `critical`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `daemonName`: string

- `daemonTaskDefinitionArn`: string — The Amazon Resource Name (ARN) of the daemon task definition used by this revision.

- `deploymentConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDaemon.DaemonDeploymentConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CfnDaemon.DaemonDeploymentConfigurationProperty.html) — Optional deployment parameters that control how a daemon rolls out updates across container instances.

- `enableEcsManagedTags`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.

- `enableExecuteCommand`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether the execute command functionality is turned on for the daemon tasks.

- `propagateTags`: string — Specifies whether tags are propagated from the daemon to the daemon tasks.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[]
