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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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:



5111
5112
5113
5114
5115
5116
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5111

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:



5111
5112
5113
5114
5115
5116
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5111

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