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:



4852
4853
4854
4855
4856
4857
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4852

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 enabled for a task, the value is true. Otherwise, it is false.

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

Returns:



4852
4853
4854
4855
4856
4857
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4852

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