ProtectedTask
An object representing the protection status details for a task. You can set the protection status with the UpdateTaskProtection API and get the status of tasks with the GetTaskProtection API.
Contents
- expirationDate
-
The epoch time when protection for the task will expire.
Type: Timestamp
Required: No
- protectionEnabled
-
The protection status of the task. If scale-in protection is on for a task, the value is
true
. Otherwise, it isfalse
.Type: Boolean
Required: No
- taskArn
-
The task ARN.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: