Class: Aws::ECS::Types::GetTaskProtectionResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failuresArray<Types::Failure>

Any failures associated with the call.

Returns:



5257
5258
5259
5260
5261
5262
# File 'lib/aws-sdk-ecs/types.rb', line 5257

class GetTaskProtectionResponse < Struct.new(
  :protected_tasks,
  :failures)
  SENSITIVE = []
  include Aws::Structure
end

#protected_tasksArray<Types::ProtectedTask>

A list of tasks with the following information.

  • ‘taskArn`: The task ARN.

  • ‘protectionEnabled`: The protection status of the task. If scale-in protection is turned on for a task, the value is `true`. Otherwise, it is `false`.

  • ‘expirationDate`: The epoch time when protection for the task will expire.

Returns:



5257
5258
5259
5260
5261
5262
# File 'lib/aws-sdk-ecs/types.rb', line 5257

class GetTaskProtectionResponse < Struct.new(
  :protected_tasks,
  :failures)
  SENSITIVE = []
  include Aws::Structure
end