Skip to content

/AWS1/CL_ECSDAEMONTASKDEFN

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_daemontaskdefinitionarn TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

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

iv_family TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

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

iv_revision TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER

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.

iv_taskrolearn TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

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.

iv_executionrolearn TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

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.

it_containerdefinitions TYPE /AWS1/CL_ECSDAEMONCONTNRDEFN=>TT_DAEMONCONTAINERDEFNLIST TT_DAEMONCONTAINERDEFNLIST

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

it_volumes TYPE /AWS1/CL_ECSDAEMONVOLUME=>TT_DAEMONVOLUMELIST TT_DAEMONVOLUMELIST

The list of data volume definitions for the daemon task.

iv_cpu TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The number of CPU units used by the daemon task.

iv_memory TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

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

iv_status TYPE /AWS1/ECSDAEMONTASKDEFNSTATUS /AWS1/ECSDAEMONTASKDEFNSTATUS

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

iv_registeredat TYPE /AWS1/ECSTIMESTAMP /AWS1/ECSTIMESTAMP

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

iv_deleterequestedat TYPE /AWS1/ECSTIMESTAMP /AWS1/ECSTIMESTAMP

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

iv_registeredby TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The principal that registered the daemon task definition.


Queryable Attributes

daemonTaskDefinitionArn

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

Accessible with the following methods

Method Description
GET_DAEMONTASKDEFINITIONARN() Getter for DAEMONTASKDEFINITIONARN, with configurable defaul
ASK_DAEMONTASKDEFINITIONARN() Getter for DAEMONTASKDEFINITIONARN w/ exceptions if field ha
HAS_DAEMONTASKDEFINITIONARN() Determine if DAEMONTASKDEFINITIONARN has a value

family

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

Accessible with the following methods

Method Description
GET_FAMILY() Getter for FAMILY, with configurable default
ASK_FAMILY() Getter for FAMILY w/ exceptions if field has no value
HAS_FAMILY() Determine if FAMILY has a value

revision

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.

Accessible with the following methods

Method Description
GET_REVISION() Getter for REVISION

taskRoleArn

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.

Accessible with the following methods

Method Description
GET_TASKROLEARN() Getter for TASKROLEARN, with configurable default
ASK_TASKROLEARN() Getter for TASKROLEARN w/ exceptions if field has no value
HAS_TASKROLEARN() Determine if TASKROLEARN has a value

executionRoleArn

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.

Accessible with the following methods

Method Description
GET_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN, with configurable default
ASK_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN w/ exceptions if field has no va
HAS_EXECUTIONROLEARN() Determine if EXECUTIONROLEARN has a value

containerDefinitions

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

Accessible with the following methods

Method Description
GET_CONTAINERDEFINITIONS() Getter for CONTAINERDEFINITIONS, with configurable default
ASK_CONTAINERDEFINITIONS() Getter for CONTAINERDEFINITIONS w/ exceptions if field has n
HAS_CONTAINERDEFINITIONS() Determine if CONTAINERDEFINITIONS has a value

volumes

The list of data volume definitions for the daemon task.

Accessible with the following methods

Method Description
GET_VOLUMES() Getter for VOLUMES, with configurable default
ASK_VOLUMES() Getter for VOLUMES w/ exceptions if field has no value
HAS_VOLUMES() Determine if VOLUMES has a value

cpu

The number of CPU units used by the daemon task.

Accessible with the following methods

Method Description
GET_CPU() Getter for CPU, with configurable default
ASK_CPU() Getter for CPU w/ exceptions if field has no value
HAS_CPU() Determine if CPU has a value

memory

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

Accessible with the following methods

Method Description
GET_MEMORY() Getter for MEMORY, with configurable default
ASK_MEMORY() Getter for MEMORY w/ exceptions if field has no value
HAS_MEMORY() Determine if MEMORY has a value

status

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

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

registeredAt

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

Accessible with the following methods

Method Description
GET_REGISTEREDAT() Getter for REGISTEREDAT, with configurable default
ASK_REGISTEREDAT() Getter for REGISTEREDAT w/ exceptions if field has no value
HAS_REGISTEREDAT() Determine if REGISTEREDAT has a value

deleteRequestedAt

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

Accessible with the following methods

Method Description
GET_DELETEREQUESTEDAT() Getter for DELETEREQUESTEDAT, with configurable default
ASK_DELETEREQUESTEDAT() Getter for DELETEREQUESTEDAT w/ exceptions if field has no v
HAS_DELETEREQUESTEDAT() Determine if DELETEREQUESTEDAT has a value

registeredBy

The principal that registered the daemon task definition.

Accessible with the following methods

Method Description
GET_REGISTEREDBY() Getter for REGISTEREDBY, with configurable default
ASK_REGISTEREDBY() Getter for REGISTEREDBY w/ exceptions if field has no value
HAS_REGISTEREDBY() Determine if REGISTEREDBY has a value