Skip to content

GetTaskProtectionRequest

Source code in docs_src/capo_ecs/types/get_task_protection_request.py
class GetTaskProtectionRequest(TypedDict, closed=True):
    cluster: "capo_ecs.types.string.String"
    """<p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.</p>"""
    tasks: NotRequired["capo_ecs.types.string_list.StringList"]
    """<p>A list of up to 100 task IDs or full ARN entries.</p>"""

cluster instance-attribute

cluster: String

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

tasks instance-attribute

tasks: NotRequired[StringList]

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