Retrieves the protection status of tasks in an Amazon ECS service¶
Description¶
Retrieves the protection status of tasks in an Amazon ECS service.
Usage¶
Arguments¶
-
cluster[required] The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.
-
tasksA list of up to 100 task IDs or full ARN entries.
Value¶
A list with the following syntax:
list(
protectedTasks = list(
list(
taskArn = "string",
protectionEnabled = TRUE|FALSE,
expirationDate = as.POSIXct(
"2015-01-01"
)
)
),
failures = list(
list(
arn = "string",
reason = "string",
detail = "string"
)
)
)