Skip to content

/AWS1/CL_ECS=>GETTASKPROTECTION()

About GetTaskProtection

Retrieves the protection status of tasks in an Amazon ECS service.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTER TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.

Optional arguments:

IT_TASKS TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

A list of up to 100 task IDs or full ARN entries.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECSGETTSKPROTECTION01 /AWS1/CL_ECSGETTSKPROTECTION01