---
type: resource-type
title: DaemonTaskDefinition
description: aws resource type AWS::ECS::DaemonTaskDefinition
name: DaemonTaskDefinition
lexicon: aws
resource_type: AWS::ECS::DaemonTaskDefinition
---
`AWS::ECS::DaemonTaskDefinition`, a resource type of the aws lexicon.

## Properties

- `ContainerDefinitions` (`DaemonTaskDefinition_DaemonContainerDefinition[]`, optional): A list of container definitions in JSON format that describe the containers that make up the daemon task.
- `Cpu` (`string`, optional): The number of CPU units used by the daemon task.
- `DaemonTaskDefinitionArn` (`string`, optional)
- `ExecutionRoleArn` (`string`, optional): The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.
- `Family` (`string`, optional): The name of a family that this daemon task definition is registered to.
- `IpcMode` (`string`, optional): The IPC namespace mode for the daemon. The valid values are ``none`` and ``shared``. The default is ``none``. If ``none`` is specified or no value is provided, the daemon runs with its own IPC namespace, isolated from other tasks. If ``shared`` is specified, the daemon joins the host IPC namespace, making it accessible to non-daemon tasks that use ``ipcMode: "host"`` or other daemons that use ``ipcMode: "shared"``.
- `Memory` (`string`, optional): The amount of memory (in MiB) used by the daemon task.
- `PidMode` (`string`, optional): The PID namespace mode for the daemon. The valid values are ``none`` and ``shared``. The default is ``none``. If ``none`` is specified or no value is provided, the daemon runs with its own PID namespace, isolated from other tasks. If ``shared`` is specified, the daemon joins the host PID namespace, making it accessible to non-daemon tasks that use ``pidMode: "host"`` or other daemons that use ``pidMode: "shared"``.
- `Tags` (`DaemonTaskDefinition_Tag[]`, optional)
- `TaskRoleArn` (`string`, optional): The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.
- `Volumes` (`DaemonTaskDefinition_Volume[]`, optional): The list of data volume definitions for the daemon task.

## Attributes

- `DaemonTaskDefinitionArn`
