Skip to content

DaemonTaskDefinition

Source code in docs_src/capo_ecs/types/daemon_task_definition.py
class DaemonTaskDefinition(TypedDict, closed=True):
    daemon_task_definition_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>The full Amazon Resource Name (ARN) of the daemon task definition.</p>"""
    family: NotRequired["capo_ecs.types.string.String"]
    """<p>The name of a family that this daemon task definition is registered to.</p>"""
    revision: "capo_ecs.types.integer.Integer"
    """<p>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 <code>1</code>. Each time that you register a new revision of a daemon task definition in the same family, the revision value always increases by one.</p>"""
    task_role_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>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.</p>"""
    execution_role_arn: NotRequired["capo_ecs.types.string.String"]
    """<p>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.</p>"""
    container_definitions: NotRequired[
        "capo_ecs.types.daemon_container_definition_list.DaemonContainerDefinitionList"
    ]
    """<p>A list of container definitions in JSON format that describe the containers that make up the daemon task.</p>"""
    volumes: NotRequired["capo_ecs.types.daemon_volume_list.DaemonVolumeList"]
    """<p>The list of data volume definitions for the daemon task.</p>"""
    cpu: NotRequired["capo_ecs.types.string.String"]
    """<p>The number of CPU units used by the daemon task.</p>"""
    memory: NotRequired["capo_ecs.types.string.String"]
    """<p>The amount of memory (in MiB) used by the daemon task.</p>"""
    status: NotRequired[
        "capo_ecs.types.daemon_task_definition_status.DaemonTaskDefinitionStatus"
    ]
    """<p>The status of the daemon task definition. The valid values are <code>ACTIVE</code>, <code>DELETE_IN_PROGRESS</code>, and <code>DELETED</code>.</p>"""
    registered_at: NotRequired["capo_ecs.types.timestamp.Timestamp"]
    """<p>The Unix timestamp for the time when the daemon task definition was registered.</p>"""
    delete_requested_at: NotRequired["capo_ecs.types.timestamp.Timestamp"]
    """<p>The Unix timestamp for the time when the daemon task definition delete was requested.</p>"""
    registered_by: NotRequired["capo_ecs.types.string.String"]
    """<p>The principal that registered the daemon task definition.</p>"""
    pid_mode: NotRequired["capo_ecs.types.daemon_pid_mode.DaemonPidMode"]
    """<p>The PID namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own PID namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host PID namespace, making it accessible to non-daemon tasks that use <code>pidMode: "host"</code> or other daemons that use <code>pidMode: "shared"</code>.</p>"""
    ipc_mode: NotRequired["capo_ecs.types.daemon_ipc_mode.DaemonIpcMode"]
    """<p>The IPC namespace mode for the daemon. The valid values are <code>none</code> and <code>shared</code>. The default is <code>none</code>.</p> <p>If <code>none</code> is specified or no value is provided, the daemon runs with its own IPC namespace, isolated from other tasks. If <code>shared</code> is specified, the daemon joins the host IPC namespace, making it accessible to non-daemon tasks that use <code>ipcMode: "host"</code> or other daemons that use <code>ipcMode: "shared"</code>.</p>"""

container_definitions instance-attribute

container_definitions: NotRequired[DaemonContainerDefinitionList]

A list of container definitions in JSON format that describe the containers that make up the daemon task.

cpu instance-attribute

cpu: NotRequired[String]

The number of CPU units used by the daemon task.

daemon_task_definition_arn instance-attribute

daemon_task_definition_arn: NotRequired[String]

The full Amazon Resource Name (ARN) of the daemon task definition.

delete_requested_at instance-attribute

delete_requested_at: NotRequired[Timestamp]

The Unix timestamp for the time when the daemon task definition delete was requested.

execution_role_arn instance-attribute

execution_role_arn: NotRequired[String]

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 instance-attribute

family: NotRequired[String]

The name of a family that this daemon task definition is registered to.

ipc_mode instance-attribute

ipc_mode: NotRequired[DaemonIpcMode]

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 instance-attribute

memory: NotRequired[String]

The amount of memory (in MiB) used by the daemon task.

pid_mode instance-attribute

pid_mode: NotRequired[DaemonPidMode]

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".

registered_at instance-attribute

registered_at: NotRequired[Timestamp]

The Unix timestamp for the time when the daemon task definition was registered.

registered_by instance-attribute

registered_by: NotRequired[String]

The principal that registered the daemon task definition.

revision instance-attribute

revision: Integer

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.

status instance-attribute

status: NotRequired[DaemonTaskDefinitionStatus]

The status of the daemon task definition. The valid values are ACTIVE, DELETE_IN_PROGRESS, and DELETED.

task_role_arn instance-attribute

task_role_arn: NotRequired[String]

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 instance-attribute

volumes: NotRequired[DaemonVolumeList]

The list of data volume definitions for the daemon task.