Method: Aws::ECS::Types::UpdateTaskProtectionRequest#protection_enabled

Defined in:
lib/aws-sdk-ecs/types.rb

#protection_enabledBoolean

Specify ‘true` to mark a task for protection and `false` to unset protection, making it eligible for termination.

Returns:

  • (Boolean)


16526
16527
16528
16529
16530
16531
16532
16533
# File 'lib/aws-sdk-ecs/types.rb', line 16526

class UpdateTaskProtectionRequest < Struct.new(
  :cluster,
  :tasks,
  :protection_enabled,
  :expires_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end