

# DaemonTaskDefinition


The details of a daemon task definition. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.

## Contents


 ** containerDefinitions **   <a name="ECS-Type-DaemonTaskDefinition-containerDefinitions"></a>
A list of container definitions in JSON format that describe the containers that make up the daemon task.  
Type: Array of [DaemonContainerDefinition](API_DaemonContainerDefinition.md) objects  
Required: No

 ** cpu **   <a name="ECS-Type-DaemonTaskDefinition-cpu"></a>
The number of CPU units used by the daemon task.  
Type: String  
Required: No

 ** daemonTaskDefinitionArn **   <a name="ECS-Type-DaemonTaskDefinition-daemonTaskDefinitionArn"></a>
The full Amazon Resource Name (ARN) of the daemon task definition.  
Type: String  
Required: No

 ** deleteRequestedAt **   <a name="ECS-Type-DaemonTaskDefinition-deleteRequestedAt"></a>
The Unix timestamp for the time when the daemon task definition delete was requested.  
Type: Timestamp  
Required: No

 ** executionRoleArn **   <a name="ECS-Type-DaemonTaskDefinition-executionRoleArn"></a>
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.  
Type: String  
Required: No

 ** family **   <a name="ECS-Type-DaemonTaskDefinition-family"></a>
The name of a family that this daemon task definition is registered to.  
Type: String  
Required: No

 ** memory **   <a name="ECS-Type-DaemonTaskDefinition-memory"></a>
The amount of memory (in MiB) used by the daemon task.  
Type: String  
Required: No

 ** registeredAt **   <a name="ECS-Type-DaemonTaskDefinition-registeredAt"></a>
The Unix timestamp for the time when the daemon task definition was registered.  
Type: Timestamp  
Required: No

 ** registeredBy **   <a name="ECS-Type-DaemonTaskDefinition-registeredBy"></a>
The principal that registered the daemon task definition.  
Type: String  
Required: No

 ** revision **   <a name="ECS-Type-DaemonTaskDefinition-revision"></a>
The revision of the daemon task in a particular family. The revision is a version number of a daemon task definition in a family. When you register a daemon task definition for the first time, the revision is `1`. Each time that you register a new revision of a daemon task definition in the same family, the revision value always increases by one.  
Type: Integer  
Required: No

 ** status **   <a name="ECS-Type-DaemonTaskDefinition-status"></a>
The status of the daemon task definition. The valid values are `ACTIVE`, `DELETE_IN_PROGRESS`, and `DELETED`.  
Type: String  
Valid Values: `ACTIVE | DELETE_IN_PROGRESS | DELETED`   
Required: No

 ** taskRoleArn **   <a name="ECS-Type-DaemonTaskDefinition-taskRoleArn"></a>
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.  
Type: String  
Required: No

 ** volumes **   <a name="ECS-Type-DaemonTaskDefinition-volumes"></a>
The list of data volume definitions for the daemon task.  
Type: Array of [DaemonVolume](API_DaemonVolume.md) objects  
Required: No

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/ecs-2014-11-13/DaemonTaskDefinition) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/ecs-2014-11-13/DaemonTaskDefinition) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/ecs-2014-11-13/DaemonTaskDefinition) 