Class: Aws::ECS::Types::ProtectedTask
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ProtectedTask
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#expiration_date ⇒ Time
The epoch time when protection for the task will expire.
-
#protection_enabled ⇒ Boolean
The protection status of the task.
-
#task_arn ⇒ String
The task ARN.
Instance Attribute Details
#expiration_date ⇒ Time
The epoch time when protection for the task will expire.
7080 7081 7082 7083 7084 7085 7086 |
# File 'lib/aws-sdk-ecs/types.rb', line 7080 class ProtectedTask < Struct.new( :task_arn, :protection_enabled, :expiration_date) SENSITIVE = [] include Aws::Structure end |
#protection_enabled ⇒ Boolean
The protection status of the task. If scale-in protection is on for a task, the value is ‘true`. Otherwise, it is `false`.
7080 7081 7082 7083 7084 7085 7086 |
# File 'lib/aws-sdk-ecs/types.rb', line 7080 class ProtectedTask < Struct.new( :task_arn, :protection_enabled, :expiration_date) SENSITIVE = [] include Aws::Structure end |
#task_arn ⇒ String
The task ARN.
7080 7081 7082 7083 7084 7085 7086 |
# File 'lib/aws-sdk-ecs/types.rb', line 7080 class ProtectedTask < Struct.new( :task_arn, :protection_enabled, :expiration_date) SENSITIVE = [] include Aws::Structure end |