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:



5300
5301
5302
5303
5304
5305
# File 'lib/aws-sdk-ecs/types.rb', line 5300

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:



5300
5301
5302
5303
5304
5305
# File 'lib/aws-sdk-ecs/types.rb', line 5300

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